[FFmpeg-cvslog] avformat/rawdec: Make ff_raw_data_read_header() non static

Michael Niedermayer git at videolan.org
Mon Jan 5 16:03:37 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan  4 23:18:43 2015 +0100| [dc265e2b6b6b8a1f461e6db3bbd4568dd6971e56] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc265e2b6b6b8a1f461e6db3bbd4568dd6971e56
---

 libavformat/rawdec.c |    2 +-
 libavformat/rawdec.h |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index bbb76b6..b903e63 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 328a4fb..835b42d 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",\



More information about the ffmpeg-cvslog mailing list