• Ronald S. Bultje's avatar
    Prevent (negative) overflow of rm->remaining_len. This evaluation really only · 0ecf9cc9
    Ronald S. Bultje authored
    has two possible outcomes: either len and rm->remaining_len are the same, in
    which case we care about the outcome and it is zero, or rm->remaining_len is
    currently not in use and we don't care about the outcome. In that case, len
    is positive and rm->remaining_len is zero, which leads to a negative result.
    This is confusing and could eventually lead to a sign-flip if we skip a lot
    of packets (unlikely, but still). Therefore, just always set it to zero.
    
    Originally committed as revision 17910 to svn://svn.ffmpeg.org/ffmpeg/trunk
    0ecf9cc9
Name
Last commit
Last update
..
4xm.c Loading commit data...
Makefile Loading commit data...
adtsenc.c Loading commit data...
aiff.c Loading commit data...
allformats.c Loading commit data...
amr.c Loading commit data...
apc.c Loading commit data...
ape.c Loading commit data...
asf.c Loading commit data...
asf.h Loading commit data...
asfcrypt.c Loading commit data...
asfcrypt.h Loading commit data...
asfdec.c Loading commit data...
asfenc.c Loading commit data...
assdec.c Loading commit data...
assenc.c Loading commit data...
au.c Loading commit data...
audiointerleave.c Loading commit data...
audiointerleave.h Loading commit data...
avc.c Loading commit data...
avc.h Loading commit data...
avformat.h Loading commit data...
avi.h Loading commit data...
avidec.c Loading commit data...
avienc.c Loading commit data...
avio.c Loading commit data...
avio.h Loading commit data...
aviobuf.c Loading commit data...
avisynth.c Loading commit data...
avs.c Loading commit data...
bethsoftvid.c Loading commit data...
bfi.c Loading commit data...
c93.c Loading commit data...
crcenc.c Loading commit data...
cutils.c Loading commit data...
daud.c Loading commit data...
dsicin.c Loading commit data...
dv.c Loading commit data...
dv.h Loading commit data...
dvenc.c Loading commit data...
dxa.c Loading commit data...
eacdata.c Loading commit data...
electronicarts.c Loading commit data...
ffm.h Loading commit data...
ffmdec.c Loading commit data...
ffmenc.c Loading commit data...
file.c Loading commit data...
flacdec.c Loading commit data...
flacenc.c Loading commit data...
flacenc.h Loading commit data...
flic.c Loading commit data...
flv.h Loading commit data...
flvdec.c Loading commit data...
flvenc.c Loading commit data...
framecrcenc.c Loading commit data...
gif.c Loading commit data...
gopher.c Loading commit data...
gxf.c Loading commit data...
gxf.h Loading commit data...
gxfenc.c Loading commit data...
http.c Loading commit data...
id3v2.c Loading commit data...
id3v2.h Loading commit data...
idcin.c Loading commit data...
idroq.c Loading commit data...
iff.c Loading commit data...
img2.c Loading commit data...
internal.h Loading commit data...
ipmovie.c Loading commit data...
isom.c Loading commit data...
isom.h Loading commit data...
iss.c Loading commit data...
libnut.c Loading commit data...
lmlm4.c Loading commit data...
matroska.c Loading commit data...
matroska.h Loading commit data...
matroskadec.c Loading commit data...
matroskaenc.c Loading commit data...
metadata.c Loading commit data...
metadata.h Loading commit data...
metadata_compat.c Loading commit data...
mm.c Loading commit data...
mmf.c Loading commit data...
mov.c Loading commit data...
movenc.c Loading commit data...
mp3.c Loading commit data...
mpc.c Loading commit data...
mpc8.c Loading commit data...
mpeg.c Loading commit data...
mpeg.h Loading commit data...
mpegenc.c Loading commit data...
mpegts.c Loading commit data...
mpegts.h Loading commit data...
mpegtsenc.c Loading commit data...
mpjpeg.c Loading commit data...
msnwc_tcp.c Loading commit data...
mtv.c Loading commit data...
mvi.c Loading commit data...
mxf.c Loading commit data...
mxf.h Loading commit data...
mxfdec.c Loading commit data...
mxfenc.c Loading commit data...
ncdec.c Loading commit data...
network.h Loading commit data...
nsvdec.c Loading commit data...
nut.c Loading commit data...
nut.h Loading commit data...
nutdec.c Loading commit data...
nutenc.c Loading commit data...
nuv.c Loading commit data...
oggdec.c Loading commit data...
oggdec.h Loading commit data...
oggenc.c Loading commit data...
oggparseflac.c Loading commit data...
oggparseogm.c Loading commit data...
oggparsespeex.c Loading commit data...
oggparsetheora.c Loading commit data...
oggparsevorbis.c Loading commit data...
oma.c Loading commit data...
options.c Loading commit data...
os_support.c Loading commit data...
os_support.h Loading commit data...
psxstr.c Loading commit data...
pva.c Loading commit data...
qtpalette.h Loading commit data...
r3d.c Loading commit data...
raw.c Loading commit data...
raw.h Loading commit data...
rdt.c Loading commit data...
rdt.h Loading commit data...
riff.c Loading commit data...
riff.h Loading commit data...
rl2.c Loading commit data...
rm.c Loading commit data...
rm.h Loading commit data...
rmdec.c Loading commit data...
rmenc.c Loading commit data...
rpl.c Loading commit data...
rtp.c Loading commit data...
rtp.h Loading commit data...
rtp_aac.c Loading commit data...
rtp_h264.c Loading commit data...
rtp_h264.h Loading commit data...
rtp_mpv.c Loading commit data...
rtpdec.c Loading commit data...
rtpdec.h Loading commit data...
rtpenc.c Loading commit data...
rtpenc.h Loading commit data...
rtpenc_h264.c Loading commit data...
rtpproto.c Loading commit data...
rtsp.c Loading commit data...
rtsp.h Loading commit data...
rtspcodes.h Loading commit data...
sdp.c Loading commit data...
segafilm.c Loading commit data...
sierravmd.c Loading commit data...
siff.c Loading commit data...
smacker.c Loading commit data...
sol.c Loading commit data...
swf.h Loading commit data...
swfdec.c Loading commit data...
swfenc.c Loading commit data...
tcp.c Loading commit data...
thp.c Loading commit data...
tiertexseq.c Loading commit data...
timefilter.c Loading commit data...
timefilter.h Loading commit data...
tta.c Loading commit data...
txd.c Loading commit data...
udp.c Loading commit data...
utils.c Loading commit data...
vc1test.c Loading commit data...
vc1testenc.c Loading commit data...
voc.c Loading commit data...
voc.h Loading commit data...
vocdec.c Loading commit data...
vocenc.c Loading commit data...
vqf.c Loading commit data...
wav.c Loading commit data...
wc3movie.c Loading commit data...
westwood.c Loading commit data...
wv.c Loading commit data...
xa.c Loading commit data...
yuv4mpeg.c Loading commit data...