summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-04 13:00:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-04 13:01:30 +0100
commitd0b450457b3aeb8c234b0b0a987db55d3485326b (patch)
tree5da9553240ab1096bcf3fdfd9401976b0a0e35c0 /libavformat/matroskadec.c
parentcb8d3965fd7e74740e8b5c0a23a394fee4083770 (diff)
matroskadec: fix ffio_init_context() usage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c2
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;