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
Fix neverending loop which might happen when sending high-bitrate MPEG2
video over RTP Originally committed as revision 13813 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Abeni
17 years ago
parent
cb26c9d664
commit
e917464155
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/rtp_mpv.c
+ 1
- 1
libavformat/rtp_mpv.c
View File
@@ -76,7 +76,7 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
}
r1 = r;
} else {
if (r - r1 < max_packet_size) {
if (r - r1 < max_packet_size
- 4
) {
len = r1 - buf1 - 4;
end_of_slice = 1;
}
Write
Preview
Loading…
Cancel
Save