diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-04 13:00:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-04 13:01:30 +0100 |
commit | d0b450457b3aeb8c234b0b0a987db55d3485326b (patch) | |
tree | 5da9553240ab1096bcf3fdfd9401976b0a0e35c0 | |
parent | cb8d3965fd7e74740e8b5c0a23a394fee4083770 (diff) | |
download | ffmpeg-d0b450457b3aeb8c234b0b0a987db55d3485326b.tar.gz |
matroskadec: fix ffio_init_context() usage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index feb7b8404a..4da4f1851f 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1608,7 +1608,7 @@ static int matroska_read_header(AVFormatContext *s) && track->codec_priv.data != NULL) { int ret; ffio_init_context(&b, track->codec_priv.data, track->codec_priv.size, - AVIO_FLAG_READ, NULL, NULL, NULL, NULL); + 0, NULL, NULL, NULL, NULL); ret = ff_get_wav_header(&b, st->codec, track->codec_priv.size); if (ret < 0) return ret; |