avformat/rawdec: Make ff_raw_data_read_header() non static
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 4 Jan 2015 22:18:43 +0000 (23:18 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Jan 2015 00:45:49 +0000 (01:45 +0100)
This is similar to the raw video read header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rawdec.c
libavformat/rawdec.h

index bbb76b6..b903e63 100644 (file)
@@ -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)
index 328a4fb..835b42d 100644 (file)
@@ -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",\