mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-04 22:30:25 +00:00
avi: directly resync on DV in AVI read failure
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
756547ce7f
commit
ceec6e792e
@ -1061,6 +1061,8 @@ static int avi_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
int size = avpriv_dv_get_packet(avi->dv_demux, pkt);
|
int size = avpriv_dv_get_packet(avi->dv_demux, pkt);
|
||||||
if (size >= 0)
|
if (size >= 0)
|
||||||
return size;
|
return size;
|
||||||
|
else
|
||||||
|
goto resync;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (avi->non_interleaved) {
|
if (avi->non_interleaved) {
|
||||||
|
Loading…
Reference in New Issue
Block a user