提交 63f800ca 编写于 作者: G Gabriel Dume 提交者: Diego Biurrun

aac_adtstoasc_bsf: Return proper error code

Signed-off-by: NDiego Biurrun <diego@biurrun.de>
上级 b8962d64
......@@ -57,7 +57,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc,
if (avpriv_aac_parse_header(&gb, &hdr) < 0) {
av_log(avctx, AV_LOG_ERROR, "Error parsing ADTS frame header!\n");
return -1;
return AVERROR_INVALIDDATA;
}
if (!hdr.crc_absent && hdr.num_aac_frames > 1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册