[FFmpeg-cvslog] matroskadec: fix ffio_init_context() usage
Michael Niedermayer
git at videolan.org
Fri Jan 4 13:11:51 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jan 4 13:00:14 2013 +0100| [d0b450457b3aeb8c234b0b0a987db55d3485326b] | committer: Michael Niedermayer
matroskadec: fix ffio_init_context() usage
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0b450457b3aeb8c234b0b0a987db55d3485326b
---
libavformat/matroskadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index feb7b84..4da4f18 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;
More information about the ffmpeg-cvslog
mailing list