wavdec: RIFX file format support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
e8714f6f93
commit
00d7555f34
@@ -142,7 +142,7 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AVStream *ast, int f
|
||||
vst->codec->codec_tag = MKTAG('B', 'I', 'T', 16);
|
||||
size -= 164;
|
||||
} else if (ast && type == MKTAG('W', 'A', 'V', 'I') && size >= 16) {
|
||||
ret = ff_get_wav_header(pb, ast->codec, 16);
|
||||
ret = ff_get_wav_header(pb, ast->codec, 16, 0);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
size -= 16;
|
||||
|
Reference in New Issue
Block a user