This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/mpegts: reset last_ver on corrupted packets
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer
10 years ago
parent
4e8d01f20c
commit
4b6be54bed
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
libavformat/mpegts.c
+ 4
- 1
libavformat/mpegts.c
View File
@@ -426,8 +426,11 @@ static void write_section_data(MpegTSContext *ts, MpegTSFilter *tss1,
}else
crc_valid = 2;
}
if (crc_valid)
if (crc_valid)
{
tss->section_cb(tss1, tss->section_buf, tss->section_h_size);
if (crc_valid != 1)
tss->last_ver = -1;
}
}
}
Write
Preview
Loading…
Cancel
Save