mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-23 15:53:08 +00:00
avformat/aacdec: resync to the next adts frame on invalid data instead of aborting
Should fix ticket #6634 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
a38eab8b75
commit
881e1f5a62
@ -190,9 +190,9 @@ retry:
|
||||
}
|
||||
if (!ff_id3v2_match(pkt->data, ID3v2_DEFAULT_MAGIC)) {
|
||||
av_packet_unref(pkt);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
ret = handle_id3(s, pkt);
|
||||
ret = adts_aac_resync(s);
|
||||
} else
|
||||
ret = handle_id3(s, pkt);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user