mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/utils: Move demuxing code out into a new file
libavformat/utils.c has over 4800 lines and is supposed to contain "various utility functions for use within FFmpeg". In reality it contains all that and the whole demuxing core of libavformat. This is especially bad, because said file includes the FFMPEG_VERSION (the git commit sha) so that it is rebuilt whenever the commit HEAD points to changes. Therefore this commit makes it smaller by moving the demuxing code out to a new file, demux.c (in analogy to mux.c for the muxing code). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
cf7c51f24b
commit
bde2cdfe9b
@ -8,6 +8,7 @@ HEADERS = avformat.h \
|
||||
OBJS = allformats.o \
|
||||
avio.o \
|
||||
aviobuf.o \
|
||||
demux.o \
|
||||
dump.o \
|
||||
format.o \
|
||||
id3v1.o \
|
||||
|
2960
libavformat/demux.c
Normal file
2960
libavformat/demux.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -652,6 +652,8 @@ void ff_reduce_index(AVFormatContext *s, int stream_index);
|
||||
|
||||
enum AVCodecID ff_guess_image2_codec(const char *filename);
|
||||
|
||||
const AVCodec *ff_find_decoder(AVFormatContext *s, const AVStream *st,
|
||||
enum AVCodecID codec_id);
|
||||
/**
|
||||
* Perform a binary search using av_index_search_timestamp() and
|
||||
* AVInputFormat.read_timestamp().
|
||||
|
2938
libavformat/utils.c
2938
libavformat/utils.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user