mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Merge commit 'ceec6e792e4b5baaa23b220f4fd33417631f5288'
* commit 'ceec6e792e4b5baaa23b220f4fd33417631f5288': avi: directly resync on DV in AVI read failure Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
5fcd0a80a2
@ -1162,6 +1162,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