ffmpeg/libavformat
David Conrad 8076609a40 The NSV demuxer assumes that a video frame's timestamp increases by one on each
frame, but some low-bitrate NSV files omit video frames for some NSV frames,
and expect the timestamp to increase by one every NSV frame. This is noticeable
in 64vp3.nsv where the video runs several times faster than the audio. Fix this
by unconditionally incrementing the video's timestamp with each NSV frame.
patch by David Conrad, umovimus gmail com

Originally committed as revision 8466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 11:05:35 +00:00
..
4xm.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +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 100l 2007-02-14 11:23:11 +00:00
allformats.c DXA demuxer and decoder 2007-03-14 14:49:49 +00:00
allformats.h DXA demuxer and decoder 2007-03-14 14:49:49 +00:00
amr.c unused #define 2006-10-10 23:59:08 +00:00
asf-enc.c some url_is_streamed()==1 related fixes 2007-03-11 02:51:06 +00:00
asf.c fix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea 2007-03-11 03:36:17 +00:00
asf.h Add the stream_bitrate GUID to the asf parsing code, and set stream bitrate 2007-02-20 23:44:11 +00:00
au.c Fix UNKOWN --> UNKNOWN typo 2007-03-07 00:49:49 +00:00
audio.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
avformat.h DXA demuxer and decoder 2007-03-14 14:49:49 +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 fix demuxing of broken MVI_3011.avi 2007-03-10 19:30:59 +00:00
avienc.c get rid of the [4] limitation of codec tag lists 2007-01-21 12:08:31 +00:00
avio.c Move avio.h's url_get_max_packet_size() comment from source to header file. 2007-03-05 14:26:50 +00:00
avio.h Convert all the comment sections into Doxygen compatible comments, same for 2007-03-05 15:18:50 +00:00
aviobuf.c Move aviobuf.c comments to avio.h. By moving the aviobuf.c comments to avio.h, 2007-03-05 13:55:45 +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 PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards 2007-02-22 13:34:36 +00:00
beosaudio.cpp implement new grabbing interface, as described here: 2007-02-14 17:01:32 +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 implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
dsicin.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
dv1394.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +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
dxa.c DXA demuxer and decoder 2007-03-14 14:49:49 +00:00
electronicarts.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
ffm.c codec_tag settable via VideoTag, and transmit codec_tag in ffm 2007-02-22 13:23:38 +00:00
file.c This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +00:00
flic.c spit an error message in case of invalid chunk 2007-02-18 00:47:13 +00:00
flv.h Complete the video format enum. 2007-02-23 21:09:50 +00:00
flvdec.c workaround for broken flvtoolized files 2007-03-07 01:52:08 +00:00
flvenc.c Set FLV_SAMPLESSIZE_16BIT for ADPCM. 2007-03-03 09:16:38 +00:00
framehook.c This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +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 This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +00:00
grab_bktr.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
grab.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
gxf.c Use av_set_pts_info and set some arbitrary timebase fallback 2007-02-08 20:54:12 +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 fix dts adjusting 2007-02-14 14:54:20 +00:00
http.c expose av_base64_decode and av_base64_encode 2007-03-19 00:48:47 +00:00
idcin.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
idroq.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
img2.c This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +00:00
ipmovie.c not checking error return, resulting double free 2007-02-17 02:46:47 +00:00
isom.c add dnxhd fourcc 2007-03-18 23:29:40 +00:00
isom.h use common tables for mov muxer and demuxer 2007-03-03 14:55:11 +00:00
libnut.c remove usage of deprecated functions in libnut.c (codec_get_id/tag) 2007-03-10 18:39:58 +00:00
Makefile DXA demuxer and decoder 2007-03-14 14:49:49 +00:00
matroska.c disable pts reordering code and initialize a parser instead 2007-03-15 23:08:58 +00:00
mm.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +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 cosmetics, sample_size_v1 -> bytes_per_frame / samples_per_frame 2007-03-21 10:28:03 +00:00
movenc.c treat frame_size > 1 as compressed audio 2007-03-21 10:03:27 +00:00
mp3.c better generic index building and seeking code 2007-02-05 23:04:48 +00:00
mpc.c 10l, > vs. >= typo, caused crashes on last mpc frame 2007-01-14 16:10:05 +00:00
mpeg.c This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +00:00
mpegts.c Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log() 2007-03-12 14:17:26 +00:00
mpegts.h demux VC1 in mpegts 2007-02-09 20:34:24 +00:00
mpegtsenc.c write DTS, based on patch by Luca Abeni, lucabe72 email it 2007-03-02 21:47:24 +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 Give context to dprintf 2007-03-12 12:36:41 +00:00
network.h move networking #includes into separate file 2007-02-04 17:05:44 +00:00
nsvdec.c The NSV demuxer assumes that a video frame's timestamp increases by one on each 2007-03-21 11:05:35 +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 fix end-of-file detection 2007-03-18 23:59:56 +00:00
nuv.c 10l to whoever wrote this (wrong fps, fixes nirvana.nuv) 2007-01-31 11:24:04 +00:00
ogg2.c Ogg is not Vorbis. 2007-02-13 23:20:35 +00:00
ogg2.h save/restore number of streams 2007-01-15 22:05:22 +00:00
ogg.c Ogg is not Vorbis. 2007-02-13 23:20:35 +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 Make sure we don't try to emulate poll() when it's there if --disable-ffserver... 10l 2007-02-15 15:39:39 +00:00
os_support.h BeOS only: we don't have SA_RESTART. #define to 0 and emit a warning. I don't plan on hosting a streaming tv anyway but it gets ffserver building. 2007-02-23 23:35:42 +00:00
psxstr.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
qtpalette.h Add missing license headers. 2007-02-27 16:05:19 +00:00
raw.c improve ac3_probe by counting consecutive frames 2007-03-18 19:32:22 +00:00
riff.c Targa (.tga) encoder, 2007-03-15 12:23:08 +00:00
riff.h add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +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 Corrections so that builds with DEBUG work 2007-03-08 14:49:43 +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 Move rtp_check_and_send_back_rr()'s unaltered comments to the header file. 2007-03-04 23:29:14 +00:00
rtp.h Doxygenize the unaltered comments for the AUHeaders structure. 2007-03-05 13:43:16 +00:00
rtpproto.c Remove parameter unused in format string. 2007-03-18 09:49:25 +00:00
rtsp.c Move unaltered rtsp.c comments to the header file. 2007-03-05 13:53:42 +00:00
rtsp.h Make rtsp_set_callback() comments available to Doxygen 2007-03-05 13:54:15 +00:00
rtspcodes.h Convert macro+enum into a simple enum: Currently the enum was filled using a 2007-03-05 13:52:14 +00:00
segafilm.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
sierravmd.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
smacker.c This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +00:00
sol.c Fix UNKOWN --> UNKNOWN typo 2007-03-07 00:49:49 +00:00
swf.c seems safer to set pts timebase to sample rate, fix some mp3 2007-03-08 22:14:04 +00:00
tcp.c change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards 2007-02-22 13:34:36 +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 change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards 2007-02-22 13:34:36 +00:00
utils.c av_estimate_timings_from_pts() flushes the packet queue but doesn't 2007-03-21 10:48:10 +00:00
v4l2.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
voc.c add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
voc.h add codec_id <-> codec_tag tables to AVIn/OutputFormat 2007-01-21 01:39:17 +00:00
vocdec.c simplification 2007-03-07 00:29:51 +00:00
vocenc.c remove now useless codec_tag setting code in voc muxer 2007-01-21 22:41:37 +00:00
wav.c Add FACT chunk for non-PCM wav formats 2007-02-12 15:57:21 +00:00
wc3movie.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
westwood.c rename BE/LE_8/16/32 to AV_RL/B_8/16/32 2007-01-19 22:12:59 +00:00
wv.c This fixes error handling for BeOS, removing the need for some ifdefs. 2007-02-13 18:26:14 +00:00
x11grab.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
yuv4mpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00