diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-04 23:18:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-05 01:45:49 +0100 |
commit | dc265e2b6b6b8a1f461e6db3bbd4568dd6971e56 (patch) | |
tree | e1c5a030ba62bd165c767d8b7f8484c78faf11eb | |
parent | 58721388b89bc1f8ecdc304ca86462fb7202527f (diff) | |
download | ffmpeg-dc265e2b6b6b8a1f461e6db3bbd4568dd6971e56.tar.gz |
avformat/rawdec: Make ff_raw_data_read_header() non static
This is similar to the raw video read header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rawdec.c | 2 | ||||
-rw-r--r-- | libavformat/rawdec.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index bbb76b6c95..b903e63fb4 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -92,7 +92,7 @@ fail: return ret; } -static int ff_raw_data_read_header(AVFormatContext *s) +int ff_raw_data_read_header(AVFormatContext *s) { AVStream *st = avformat_new_stream(s, NULL); if (!st) diff --git a/libavformat/rawdec.h b/libavformat/rawdec.h index 328a4fbd49..835b42db07 100644 --- a/libavformat/rawdec.h +++ b/libavformat/rawdec.h @@ -41,6 +41,8 @@ int ff_raw_audio_read_header(AVFormatContext *s); int ff_raw_video_read_header(AVFormatContext *s); +int ff_raw_data_read_header(AVFormatContext *s); + #define FF_RAWVIDEO_DEMUXER_CLASS(name)\ static const AVClass name ## _demuxer_class = {\ .class_name = #name " demuxer",\ |