aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-12 13:20:36 +0100
committerAnton Khirnov <anton@khirnov.net>2012-01-27 10:51:57 +0100
commit6e9651d1064b6a3e18c24f15d5b03bb9c5fc3393 (patch)
tree16acae746d2c37d10c07703437940265b7463fa6 /libavformat/rawdec.c
parent3b4aaa61906321b44e9724d9fed11e552406ea50 (diff)
downloadffmpeg-6e9651d1064b6a3e18c24f15d5b03bb9c5fc3393.tar.gz
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 3e2dd05940..9400a0bd32 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -29,7 +29,7 @@
#include "libavutil/pixdesc.h"
/* raw input */
-int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
+int ff_raw_read_header(AVFormatContext *s)
{
AVStream *st;
enum CodecID id;
@@ -120,8 +120,7 @@ int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
-int ff_raw_audio_read_header(AVFormatContext *s,
- AVFormatParameters *ap)
+int ff_raw_audio_read_header(AVFormatContext *s)
{
AVStream *st = avformat_new_stream(s, NULL);
if (!st)
@@ -136,8 +135,7 @@ int ff_raw_audio_read_header(AVFormatContext *s,
}
/* MPEG-1/H.263 input */
-int ff_raw_video_read_header(AVFormatContext *s,
- AVFormatParameters *ap)
+int ff_raw_video_read_header(AVFormatContext *s)
{
AVStream *st;
FFRawVideoDemuxerContext *s1 = s->priv_data;