mirror of https://git.ffmpeg.org/ffmpeg.git
matroskadec: fix ffio_init_context() usage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cb8d3965fd
commit
d0b450457b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue