diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-12 13:20:36 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-27 10:51:57 +0100 |
commit | 6e9651d1064b6a3e18c24f15d5b03bb9c5fc3393 (patch) | |
tree | 16acae746d2c37d10c07703437940265b7463fa6 /libavformat/utils.c | |
parent | 3b4aaa61906321b44e9724d9fed11e552406ea50 (diff) | |
download | ffmpeg-6e9651d1064b6a3e18c24f15d5b03bb9c5fc3393.tar.gz |
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 17eec072d0..51774e0ff2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -608,7 +608,6 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma { AVFormatContext *s = *ps; int ret = 0; - AVFormatParameters ap = { { 0 } }; AVDictionary *tmp = NULL; if (!s && !(s = avformat_alloc_context())) @@ -655,7 +654,7 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC); if (s->iformat->read_header) - if ((ret = s->iformat->read_header(s, &ap)) < 0) + if ((ret = s->iformat->read_header(s)) < 0) goto fail; if (s->pb && !s->data_offset) |