aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-04 23:18:43 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-05 01:45:49 +0100
commitdc265e2b6b6b8a1f461e6db3bbd4568dd6971e56 (patch)
treee1c5a030ba62bd165c767d8b7f8484c78faf11eb
parent58721388b89bc1f8ecdc304ca86462fb7202527f (diff)
downloadffmpeg-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.c2
-rw-r--r--libavformat/rawdec.h2
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",\