Commit 881e1f5a authored by James Almer's avatar James Almer

avformat/aacdec: resync to the next adts frame on invalid data instead of aborting

Should fix ticket #6634
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent a38eab8b
......@@ -190,8 +190,8 @@ retry:
}
if (!ff_id3v2_match(pkt->data, ID3v2_DEFAULT_MAGIC)) {
av_packet_unref(pkt);
return AVERROR_INVALIDDATA;
}
ret = adts_aac_resync(s);
} else
ret = handle_id3(s, pkt);
if (ret < 0)
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment