mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/mvdec: Don't signal success on parse_audio_var() error
Propagate the error it returned instead. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
90da43557f
commit
229e949c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ static int mv_read_header(AVFormatContext *avctx)
|
|||
if (!ast)
|
||||
return AVERROR(ENOMEM);
|
||||
ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
if ((read_table(avctx, ast, parse_audio_var)) < 0)
|
||||
if ((ret = read_table(avctx, ast, parse_audio_var)) < 0)
|
||||
return ret;
|
||||
if (mv->acompression == 100 &&
|
||||
mv->aformat == AUDIO_FORMAT_SIGNED &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue