1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libavformat
Michael Niedermayer 5fd63f3c3b Ensure that the timestamp reading code used for seeking chooses a position
which is a multiple of the packet size from the last packet start instead
of the file start. This fixes some seek issues with randomly cut ts files
and the mysterious "4 byte PCR somehing MTS something bug".

Originally committed as revision 12932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-23 21:16:25 +00:00
..
4xm.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
adtsenc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
aiff.c set block align for mace3/6 2008-03-05 12:06:57 +00:00
allformats.c Raw dts muxer 2008-04-20 20:28:12 +00:00
amr.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
apc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
ape.c fix 8 "initialization discards qualifiers from pointer target type" 2008-02-04 00:42:27 +00:00
asf-enc.c Correct ASF duration. 2008-04-21 08:19:16 +00:00
asf.c Read asf file header fields in the right order 2008-04-22 20:08:39 +00:00
asf.h typo: begining --> beginning 2007-12-23 21:01:09 +00:00
asfcrypt.c Add support for decrypting asf files 2007-10-20 14:25:02 +00:00
asfcrypt.h Add missing #includes to fix 'make checkheaders'. 2007-11-24 10:08:02 +00:00
au.c Add support for S8 PCM (codec 2) 2008-01-13 15:08:33 +00:00
avc.c Fix misplaced const, avoids a cast-discards-qualifiers warning 2008-02-19 16:18:17 +00:00
avc.h const 2008-02-19 16:08:52 +00:00
avformat.h IFF demuxer 2008-03-30 19:17:01 +00:00
avi.h avi.h does not use anything from avcodec.h. 2008-03-03 22:56:07 +00:00
avidec.c Print warning if scale/rate is invalid. 2008-04-13 11:45:18 +00:00
avienc.c Fix aspect ratio. 2008-03-27 01:18:16 +00:00
avio.c Add AVClass to URLContext at next major version bump 2008-03-10 19:03:39 +00:00
avio.h minor typo fixes 2008-03-31 17:31:11 +00:00
aviobuf.c improve CRC API 2008-01-04 23:09:58 +00:00
avisynth.c
avs.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
bethsoftvid.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
bfi.c BFI demuxer 2008-04-13 21:06:31 +00:00
c93.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
crcenc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
cutils.c
daud.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
dsicin.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
dv.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
dv.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
dvenc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
dxa.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
eacdata.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
electronicarts.c add pcm_s16le_planar support for electronicarts files 2007-11-25 16:32:47 +00:00
ffm.c Fix random typos. 2008-01-08 23:08:51 +00:00
file.c os_support.h is also needed for usleep and lseek on MinGW. 2007-11-22 02:27:39 +00:00
flic.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
flv.h flv/swf do not have a big endian codec id, they only support 2008-02-24 00:57:15 +00:00
flvdec.c Remove useless code. 2008-04-14 12:25:44 +00:00
flvenc.c flv/swf do not have a big endian codec id, they only support 2008-02-24 00:57:15 +00:00
framecrcenc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
framehook.c Rename two structures, identifiers starting with _[A-Z] are reserved. 2008-01-06 16:02:55 +00:00
framehook.h mention libavfilter in warning about deprecated vhook 2008-01-03 02:12:08 +00:00
gif.c Replace idiotic (what moron wrote that code?) "buffer overflow" message by 2008-01-17 00:12:04 +00:00
gifdec.c Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif 2008-03-03 13:16:29 +00:00
gxf.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
gxf.h
gxfenc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
http.c Remove a pointless cast. 2008-02-02 22:03:01 +00:00
idcin.c fix the id CIN demuxer by using the pts API correctly 2008-03-01 01:43:19 +00:00
idroq.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
iff.c Remove unused variable. 2008-04-02 19:03:59 +00:00
img2.c useless null 2008-03-14 13:10:49 +00:00
ipmovie.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
isom.c Identify codec in GMCMidiaASX.mov correctly. 2008-04-15 11:50:37 +00:00
isom.h Set correct codec type and id for text subtitles. 2008-01-26 20:30:03 +00:00
libnut.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
lmlm4.c Linux Media Labs MPEG-4 (LMLM4) demuxer 2008-01-07 23:52:51 +00:00
Makefile Maxis XA demuxer and decoder. 2008-04-14 14:31:43 +00:00
matroska.c Add support for Matroska attachments. 2008-01-27 15:43:17 +00:00
matroska.h Add support for Matroska attachments. 2008-01-27 15:43:17 +00:00
matroskadec.c Implement FFMAX3(a,b,c) - maximum over three arguments. 2008-04-19 17:07:58 +00:00
matroskaenc.c use common aac sample rate tables 2008-04-02 21:41:48 +00:00
mm.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
mmf.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
mov.c Fix probe for mov00003.mqv. 2008-04-15 12:25:03 +00:00
movenc.c special mpeg2 handling is no more needed 2008-04-04 09:55:31 +00:00
mp3.c Another const found by -Wwrite-strings. 2008-02-04 01:01:52 +00:00
mpc8.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
mpc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
mpeg.c Ignore flags after pts/dts if there are no bytes left. 2008-03-04 01:31:15 +00:00
mpeg.h include required headers for int64_t and AV_RB16() 2008-03-03 23:00:48 +00:00
mpegenc.c init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used uninitialized in this function 2008-01-31 00:27:51 +00:00
mpegts.c Ensure that the timestamp reading code used for seeking chooses a position 2008-04-23 21:16:25 +00:00
mpegts.h treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans 2008-02-23 10:57:38 +00:00
mpegtsenc.c improve CRC API 2008-01-04 23:09:58 +00:00
mpjpeg.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
msnwc_tcp.c MSN TCP Webcam stream demuxer. 2008-03-18 19:54:47 +00:00
mtv.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
mxf.c just skip klv packet, when no corresponding stream is found 2008-03-16 17:54:36 +00:00
network.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
nsvdec.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
nut.c Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing 2008-03-07 19:25:09 +00:00
nut.h Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing 2008-03-07 19:25:09 +00:00
nutdec.c typo fixes 2008-03-15 16:15:47 +00:00
nutenc.c misc spelling fixes 2008-03-10 18:42:09 +00:00
nuv.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
oggdec.c Add support for speex in ogg 2008-02-06 12:37:37 +00:00
oggdec.h Add support for speex in ogg 2008-02-06 12:37:37 +00:00
oggenc.c fix Ogg/FLAC header size 2008-03-30 03:40:03 +00:00
oggparseflac.c Rename ogg2.[ch] to oggdec.[ch]. 2007-11-07 20:22:32 +00:00
oggparseogm.c const 2008-02-01 15:17:43 +00:00
oggparsespeex.c Add support for speex in ogg 2008-02-06 12:37:37 +00:00
oggparsetheora.c set PKT_FLAG_KEY for Theora and OGM streams 2007-11-11 21:56:18 +00:00
oggparsevorbis.c const 2008-02-01 15:17:32 +00:00
os_support.c Include poll.h instead of sys/poll.h 2008-02-13 12:51:14 +00:00
os_support.h typo: occured --> occurred 2008-03-22 01:06:57 +00:00
psxstr.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
pva.c Implement read_timestamp and enable seeking in PVA files. 2008-01-07 23:42:52 +00:00
qtpalette.h Fix make checkheaders. 2007-12-03 12:46:20 +00:00
raw.c change ff_ac3_parse_header() to take a GetBitContext instead of const char* 2008-04-22 11:14:01 +00:00
raw.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
riff.c cosmetics: remove some empty lines 2008-03-10 00:48:36 +00:00
riff.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
rl2.c rl2 demuxer 2008-03-21 14:02:13 +00:00
rm.h Make three rm demuxer functions non static. 2008-01-04 13:00:47 +00:00
rmdec.c Fix seeking in rm. 2008-04-09 23:19:05 +00:00
rmenc.c Fix muxer so that generated files are playable by realplayer, other open 2007-12-02 17:51:05 +00:00
rpl.c ARMovie/RPL demuxer 2008-03-31 10:44:33 +00:00
rtp_aac.c Allow to set the maximum number of frames per RTP packet (and add support for 2007-10-02 14:48:08 +00:00
rtp_aac.h Add missing #includes to fix 'make checkheaders'. 2007-11-24 10:08:02 +00:00
rtp_h264.c Add a flags field to the RTPDynamicPayloadPacketHandlerProc (PKT_FLAG_*). 2008-01-18 20:48:32 +00:00
rtp_h264.h Add some const, fixes warnings: 2008-02-19 22:07:48 +00:00
rtp_internal.h Add a flags field to the RTPDynamicPayloadPacketHandlerProc (PKT_FLAG_*). 2008-01-18 20:48:32 +00:00
rtp_mpv.c Add my name to the copyright header, since rtp_mpv now contains 2007-09-24 12:15:42 +00:00
rtp_mpv.h Add missing #includes to fix 'make checkheaders'. 2007-11-24 10:08:02 +00:00
rtp.c Add a comment about missing entries 2008-03-31 09:54:49 +00:00
rtp.h Make AVRtpPayloadTypes static and constant 2008-01-06 10:00:04 +00:00
rtpdec.c typo fixes 2008-03-15 16:15:47 +00:00
rtpenc_h264.c Add some const, fixes warnings: 2008-02-19 22:07:48 +00:00
rtpenc.c Fix computation of the "NTP time" field in RTCP SR packets, and do not 2008-02-20 10:19:35 +00:00
rtpproto.c Cleanup comments and make them doxygen parsable. 2008-04-15 22:22:49 +00:00
rtsp.c Fix receiving from SDP with unicast destinations 2008-04-15 11:28:04 +00:00
rtsp.h Allow cycling between different protocols (TCP, UDP or multicast) so that if 2008-03-19 14:05:08 +00:00
rtspcodes.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
sdp.c Add some information about the stream bitrate, if available 2008-03-05 13:31:24 +00:00
segafilm.c Fix ;; 2008-02-19 22:09:08 +00:00
sierravmd.c Fix a possible use of an uninitialized pointer. 2008-02-04 12:13:09 +00:00
siff.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
smacker.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
sol.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
swf.c unset extension, so code path, and guess format do not choose 2008-01-21 13:43:40 +00:00
tcp.c Set TCP protocol to is_streamed=1 as seeking is not possible. 2008-03-05 15:29:10 +00:00
thp.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
tiertexseq.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
tta.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
txd.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
udp.c doxy header for udp protocol 2008-04-16 16:52:35 +00:00
utils.c Print duration with higher precision. 2008-04-16 06:46:54 +00:00
vc1test.c Reduce probe score as it misdetects our flv file from the regression test. 2008-04-15 13:36:31 +00:00
voc.c
voc.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
vocdec.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
vocenc.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
wav.c Decrease returning probe score for WAV demuxer to avoid 2008-04-19 14:52:19 +00:00
wc3movie.c fix wc3movie demuxer to conform to the PTS API 2008-03-01 02:28:47 +00:00
westwood.c Tighten up the Westwood AUD detection. Probability of random detections 2008-04-18 17:29:58 +00:00
wv.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00
xa.c Maxis XA demuxer and decoder. 2008-04-14 14:31:43 +00:00
yuv4mpeg.c Use dynamically allocated ByteIOContext in AVFormatContext 2007-11-21 07:41:00 +00:00