FFmpeg/libavformat
Michael Niedermayer 7e4709b18f reduce len checks, simplifies code
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it

Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:44:57 +00:00
..
4xm.c Do not set audio codec_tag to 1, that would be PCM audio. 2006-11-05 16:31:52 +00:00
adtsenc.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
aiff.c make some symbols static 2006-11-11 20:56:36 +00:00
allformats.c Musepack SV7 decoding support 2006-12-24 04:51:43 +00:00
allformats.h Musepack SV7 decoding support 2006-12-24 04:51:43 +00:00
amr.c unused #define 2006-10-10 23:59:08 +00:00
asf-enc.c variable renaming: mp3lame --> libmp3lame 2007-01-07 00:02:15 +00:00
asf.c fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.wmv 2007-01-15 23:47:53 +00:00
asf.h Minor modifications to handle mms streaming. 2006-12-04 15:46:32 +00:00
au.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
audio.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avformat.h Make nb_streams unsigned to avoid an ugly cast. 2007-01-16 22:31:10 +00:00
avi.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avidec.c Make nb_streams unsigned to avoid an ugly cast. 2007-01-16 22:31:10 +00:00
avienc.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
avio.c makes the filename member of the URLContext a pointer, so that the 2007-01-14 22:07:19 +00:00
avio.h makes the filename member of the URLContext a pointer, so that the 2007-01-14 22:07:19 +00:00
aviobuf.c fix indention of previous commit 2007-01-01 21:49:50 +00:00
avisynth.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avs.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
barpainet.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
base64.c Add base64 encoding and decoding routines 2006-10-28 00:12:31 +00:00
base64.h Add base64 encoding and decoding routines 2006-10-28 00:12:31 +00:00
beosaudio.cpp Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
crc.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
cutils.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
daud.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
dc1394.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
dsicin.c support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net% 2006-10-11 16:57:00 +00:00
dv1394.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
dv1394.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
dv.c * Fixing seeking with DV-AVI (by Jeff Downs <heydowns at borg dot com>) 2007-01-11 22:32:19 +00:00
dv.h * Fixing seeking with DV-AVI (by Jeff Downs <heydowns at borg dot com>) 2007-01-11 22:32:19 +00:00
dvenc.c * Fixing a bug with incorrect bits set in AAUX source pack 2007-01-15 07:41:28 +00:00
electronicarts.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
ffm.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
file.c Remove useless #include. 2006-12-21 11:14:56 +00:00
flic.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
flv.h Defines various common FLV format values between the FLV muxer and demuxer 2006-12-06 00:23:04 +00:00
flvdec.c add FLV decoder metadata parsing 2006-12-12 12:29:33 +00:00
flvenc.c variable renaming: mp3lame --> libmp3lame 2007-01-07 00:02:15 +00:00
framehook.c rename HAVE_DLFCN to HAVE_DLFCN_H 2006-11-14 23:53:37 +00:00
framehook.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
gif.c kill AVImageFormat 2006-11-02 23:22:23 +00:00
gifdec.c kill AVImageFormat 2006-11-02 23:22:23 +00:00
grab_bktr.c Properly check for all required bktr headers. 2006-12-24 03:53:15 +00:00
grab.c fall back mmap() call using MAP_PRIVATE for working on no-mmu systems 2006-12-28 00:32:06 +00:00
gxf.c Set CODEC_TYPE_DATA for timecode tracks. 2006-11-22 18:47:05 +00:00
gxf.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
gxfenc.c readjust dts if negative 2006-11-28 15:34:18 +00:00
http.c add support for HTTP seeking 2007-01-14 22:02:38 +00:00
idcin.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
idroq.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
img2.c Fix a crash when probing img2 format with a NULL filename. 2006-12-20 23:33:50 +00:00
img.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
ipmovie.c Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts. 2006-11-01 22:39:58 +00:00
isom.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
isom.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
jpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
libnut.c sync to libnut, nom->num 2006-12-23 12:33:37 +00:00
Makefile Musepack SV7 decoding support 2006-12-24 04:51:43 +00:00
matroska.c matroska: scale timecode according to time_scale 2006-11-28 23:41:53 +00:00
mm.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mmf.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mov.c add msrle fourcc, quicktime_bmp.mov 2007-01-16 00:40:06 +00:00
movenc.c remove useless sampleDuration 2006-12-11 13:31:20 +00:00
mp3.c variable renaming: mp3lame --> libmp3lame 2007-01-07 00:02:15 +00:00
mpc.c 10l, > vs. >= typo, caused crashes on last mpc frame 2007-01-14 16:10:05 +00:00
mpeg.c reduce len checks, simplifies code 2007-01-17 10:44:57 +00:00
mpegts.c make some symbols static 2006-11-11 20:56:36 +00:00
mpegts.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mpegtsenc.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
mpjpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mtv.c now we set codec_tag, still have to figure out how to handle flipping 2006-11-03 20:13:42 +00:00
mxf.c cosmetics, function -> metadata 2007-01-15 01:04:43 +00:00
nsvdec.c Add support for VP60 and VP61. 2006-12-17 22:00:12 +00:00
nut.c variable renaming: mp3lame --> libmp3lame 2007-01-07 00:02:15 +00:00
nut.h 10l forgot (skip non keyframes after seeking between syncpoint and the first keyframe) 2006-11-16 12:27:43 +00:00
nutdec.c check max_pts_distance 2006-11-16 11:03:40 +00:00
nuv.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
ogg2.c check for sane values in ogg_get_length(), fix lol-ffplay.ogm fuzz test 2007-01-15 22:45:50 +00:00
ogg2.h save/restore number of streams 2007-01-15 22:05:22 +00:00
ogg.c Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts. 2006-11-01 22:39:58 +00:00
oggparseflac.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
oggparseogm.c move common stuff from avienc.c and wav.c to new file riff.c 2006-07-12 00:09:34 +00:00
oggparsetheora.c fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%) 2006-07-17 10:44:53 +00:00
oggparsevorbis.c fix some signedness warnings 2006-09-27 19:47:39 +00:00
os_support.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
os_support.h support files >2GB on MinGW 2006-12-22 23:44:04 +00:00
png.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
pnm.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
psxstr.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
qtpalette.h COSMETICS: Remove all trailing whitespace. 2005-12-17 18:14:38 +00:00
raw.c mpeg4probe patch by (Thijs Vermeir ; thijs vermeir barco com) 2006-11-08 01:21:23 +00:00
riff.c Add support for VP60 and VP61. 2006-12-17 22:00:12 +00:00
riff.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
rm.c Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts. 2006-11-01 22:39:58 +00:00
rtp_h264.c add support for rtp/h264 streaming 2006-11-07 22:10:07 +00:00
rtp_h264.h add support for rtp/h264 streaming 2006-11-07 22:10:07 +00:00
rtp_internal.h add valid statistics for the RTCP receiver report. 2006-11-03 07:55:57 +00:00
rtp.c get rid of CODEC_ID_MPEG4AAC after next version bump, and change it to CODEC_ID_AAC where used 2006-11-09 11:37:30 +00:00
rtp.h make ffmpeg able to send back a RTCP receiver report. 2006-10-27 18:19:29 +00:00
rtpproto.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
rtsp.c remove duplicate code, patch by Ryan Martell rdm4 A martellventures P com 2006-11-16 08:48:05 +00:00
rtsp.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
rtspcodes.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
segafilm.c Simplify the Sega FILM/CPK demuxer to not modify the bastardized Cinepak stream. 2006-12-02 21:28:05 +00:00
sgi.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
sierravmd.c Identation 2006-11-19 05:32:22 +00:00
smacker.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
sol.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
swf.c seek back at the end of file after updating header 2007-01-14 13:57:26 +00:00
tcp.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
tiertexseq.c missdetected a broken mp3 2007-01-02 22:22:12 +00:00
tta.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
udp.c Make it possible to reuse UDP socket (optional, disabled by default) 2006-10-28 17:16:18 +00:00
utils.c removed unused av_frac_set 2007-01-08 14:44:13 +00:00
v4l2.c use the standard INT64_C() macro for 64-bit constants 2006-12-06 23:46:11 +00:00
voc.c move common voc muxer and demuxer data to voc.c 2006-11-21 13:18:21 +00:00
voc.h move common voc muxer and demuxer data to voc.c 2006-11-21 13:18:21 +00:00
vocdec.c move common voc muxer and demuxer data to voc.c 2006-11-21 13:18:21 +00:00
vocenc.c move common voc muxer and demuxer data to voc.c 2006-11-21 13:18:21 +00:00
wav.c replace coder/decoder file description in libavformat by muxer/demuxer 2006-10-23 08:57:54 +00:00
wc3movie.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
westwood.c Do not touch pkt->pts 2006-12-03 05:47:55 +00:00
wv.c Remove unused variable. 2006-10-15 10:31:50 +00:00
x11grab.c typo: pallete --> palette 2007-01-13 04:19:45 +00:00
yuv4mpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
yuv.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00