Stefano Sabatini [Tue, 24 Jun 2008 22:27:37 +0000 (22:27 +0000)]
Make ffserver show launched commandlines not only in debug-mode.
Originally committed as revision 13955 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 24 Jun 2008 21:35:27 +0000 (21:35 +0000)]
Use http_log() rather than printing on stdout to show the launched
commandlines.
Originally committed as revision 13954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 24 Jun 2008 21:32:34 +0000 (21:32 +0000)]
Simplify interp()
Originally committed as revision 13953 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 24 Jun 2008 21:30:09 +0000 (21:30 +0000)]
More cosmetics
Originally committed as revision 13952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 24 Jun 2008 21:29:18 +0000 (21:29 +0000)]
Cosmetics
Originally committed as revision 13951 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 24 Jun 2008 21:26:20 +0000 (21:26 +0000)]
Make ffserver show each launched commandline just before to launch
them rather than print them when parsing the configuration file. This
way those commandlines are not showed anymore in no-launch mode.
Originally committed as revision 13950 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefan Gehrer [Tue, 24 Jun 2008 20:27:29 +0000 (20:27 +0000)]
revert accidental const slipping in
Originally committed as revision 13949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 24 Jun 2008 20:15:31 +0000 (20:15 +0000)]
Replace redundant MAX macro declaration by proper use of FFMAX.
Originally committed as revision 13948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefan Gehrer [Tue, 24 Jun 2008 20:01:31 +0000 (20:01 +0000)]
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 24 Jun 2008 18:38:55 +0000 (18:38 +0000)]
Use lpc_coef[2] instead of lpc_coef and lpc_coef_old
Originally committed as revision 13946 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 24 Jun 2008 18:13:44 +0000 (18:13 +0000)]
Remove unused entries from lpc_refl_cb*
Originally committed as revision 13945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 24 Jun 2008 18:06:30 +0000 (18:06 +0000)]
Remove unused entries from energy_tab
Originally committed as revision 13944 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Tue, 24 Jun 2008 11:07:04 +0000 (11:07 +0000)]
Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP
Originally committed as revision 13943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Laurent Desnogues [Tue, 24 Jun 2008 09:10:30 +0000 (09:10 +0000)]
Mark constant structure member as const to avoid some warnings.
patch by Laurent Desnogues, laurent.desnogues gmail com
Originally committed as revision 13942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 24 Jun 2008 09:07:19 +0000 (09:07 +0000)]
Incorporate ffserver documentation Quick Start chapter into the
man DESCRIPTION section.
Originally committed as revision 13941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 24 Jun 2008 09:00:58 +0000 (09:00 +0000)]
Remove redundant mm_flags declaration, fixes the warning:
libavcodec.a(dsputil_ppc.o): warning: definition of `mm_flags' overriding common
fft-test.o: warning: common is here
Originally committed as revision 13940 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 24 Jun 2008 02:02:32 +0000 (02:02 +0000)]
log when feed is already being received
Originally committed as revision 13939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 24 Jun 2008 02:00:54 +0000 (02:00 +0000)]
reindent
Originally committed as revision 13938 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 21:27:42 +0000 (21:27 +0000)]
Remove unused values from gain_{val,exp}_tab
Originally committed as revision 13937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 21:12:35 +0000 (21:12 +0000)]
Now these tables fit in 16 bits.
Originally committed as revision 13936 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 21:10:59 +0000 (21:10 +0000)]
Merge the >> 4 calculation of cb1_base in the table
Originally committed as revision 13935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 21:00:28 +0000 (21:00 +0000)]
Consistency: make the output buffer the first argument of functions
Originally committed as revision 13934 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:53:05 +0000 (20:53 +0000)]
Use sizeof() intead of hardcoding the values
Originally committed as revision 13933 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:46:42 +0000 (20:46 +0000)]
Simplify
Originally committed as revision 13932 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:44:58 +0000 (20:44 +0000)]
Simplify
Originally committed as revision 13931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:42:36 +0000 (20:42 +0000)]
It makes more sense to return 1 here in case of overflow.
Originally committed as revision 13930 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:39:28 +0000 (20:39 +0000)]
Cosmetics: indent
Originally committed as revision 13929 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:39:09 +0000 (20:39 +0000)]
Remove unneeded check
Originally committed as revision 13928 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:37:53 +0000 (20:37 +0000)]
rescale_rms() should use unsigned ints
Originally committed as revision 13927 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:35:02 +0000 (20:35 +0000)]
Move factor multiplication out of irms()
Originally committed as revision 13926 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:33:31 +0000 (20:33 +0000)]
This should be signed
Originally committed as revision 13925 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:28:00 +0000 (20:28 +0000)]
More comments removal/fixes
Originally committed as revision 13924 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:26:57 +0000 (20:26 +0000)]
Remove useless comment
Originally committed as revision 13923 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:26:24 +0000 (20:26 +0000)]
More comments improvement
Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:24:06 +0000 (20:24 +0000)]
Document defines better
Originally committed as revision 13921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:20:29 +0000 (20:20 +0000)]
Remove useless define
Originally committed as revision 13920 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:18:51 +0000 (20:18 +0000)]
Rename rotate_buffer() to copy_and_dup() and doxy it
Originally committed as revision 13919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:13:07 +0000 (20:13 +0000)]
Simplify t_sqrt()
Originally committed as revision 13918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:12:12 +0000 (20:12 +0000)]
Add doxy comment
Originally committed as revision 13917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:06:36 +0000 (20:06 +0000)]
Rename var
Originally committed as revision 13916 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 20:05:42 +0000 (20:05 +0000)]
Move code unrelated to lpc filtering out of lpc_filter()
Originally committed as revision 13915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 23 Jun 2008 19:59:42 +0000 (19:59 +0000)]
Simplify rotate_buffer()
Originally committed as revision 13914 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 19:57:58 +0000 (19:57 +0000)]
copy extradata if present
Originally committed as revision 13913 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 23 Jun 2008 19:47:10 +0000 (19:47 +0000)]
Fix typo in libavcodec/opt.h.
Originally committed as revision 13912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 23 Jun 2008 19:43:38 +0000 (19:43 +0000)]
Make ffserver daemon chdir()s just after log init. This way a
relative path for the logfile is resolved according to the directory
where ffserver has been launched, as the user expects.
Originally committed as revision 13911 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 17:57:31 +0000 (17:57 +0000)]
fix segv, fmt_ctx is not set for rtsp
Originally committed as revision 13910 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 23 Jun 2008 08:52:44 +0000 (08:52 +0000)]
Remove unused variable, fixes the warning:
libavformat/rmdec.c:280: warning: unused variable 'i'
Originally committed as revision 13909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 08:12:15 +0000 (08:12 +0000)]
cosmetics, braces placement
Originally committed as revision 13908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Art Clarke [Mon, 23 Jun 2008 07:33:15 +0000 (07:33 +0000)]
Allocate static tables on stack, not heap.
Patch by Art Clarke: aclarke vlideshow com
Originally committed as revision 13907 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 07:28:49 +0000 (07:28 +0000)]
10l, do not use ctx before being set, fix segv
Originally committed as revision 13906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 03:21:40 +0000 (03:21 +0000)]
fix compilation, this should be better
Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 03:18:55 +0000 (03:18 +0000)]
10l, move init after possible goto
Originally committed as revision 13904 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 03:18:24 +0000 (03:18 +0000)]
simplify, use ist
Originally committed as revision 13903 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 03:16:24 +0000 (03:16 +0000)]
fix source stream, source_index is refering to fmt_in, needs testing
Originally committed as revision 13902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 02:41:06 +0000 (02:41 +0000)]
simplify
Originally committed as revision 13901 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 23 Jun 2008 02:16:00 +0000 (02:16 +0000)]
no need to print date anymore since done in http_log
Originally committed as revision 13900 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 23:52:57 +0000 (23:52 +0000)]
chinese avs demuxing support, demux AVSFileFormat.mp4
Originally committed as revision 13899 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sun, 22 Jun 2008 20:10:16 +0000 (20:10 +0000)]
Cosmetics
Originally committed as revision 13898 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sun, 22 Jun 2008 20:09:13 +0000 (20:09 +0000)]
Avoid a memcpy. Code is also simpler now in my opinion.
The downside is making the context bigger.
Originally committed as revision 13897 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 22 Jun 2008 17:26:13 +0000 (17:26 +0000)]
Document ffserver debug mode.
Originally committed as revision 13896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 22 Jun 2008 16:30:21 +0000 (16:30 +0000)]
Document ffserver daemon mode.
Originally committed as revision 13895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 22 Jun 2008 16:23:58 +0000 (16:23 +0000)]
Document ffserver no-launch mode.
Originally committed as revision 13894 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 22 Jun 2008 16:20:12 +0000 (16:20 +0000)]
Cosmetics: move ffmpeg.c dframes option definition from within the
video options to the generic options where it belongs.
Originally committed as revision 13893 to svn://svn.ffmpeg.org/ffmpeg/trunk
Evgeniy Stepanov [Sun, 22 Jun 2008 15:52:28 +0000 (15:52 +0000)]
matroskadec: decode track private data if needed
original patch by Evgeniy Stepanov eugeni.stepanov _at_ gmail _dot_ com
Originally committed as revision 13892 to svn://svn.ffmpeg.org/ffmpeg/trunk
Evgeniy Stepanov [Sun, 22 Jun 2008 15:49:44 +0000 (15:49 +0000)]
matroskadec: move buffer decoding code to a separate function
original patch by Evgeniy Stepanov eugeni.stepanov _at_ gmail.com
Originally committed as revision 13891 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sun, 22 Jun 2008 15:46:36 +0000 (15:46 +0000)]
matroskadec: fix a memory leak
Originally committed as revision 13890 to svn://svn.ffmpeg.org/ffmpeg/trunk
Robert Swain [Sun, 22 Jun 2008 15:26:00 +0000 (15:26 +0000)]
Remove now unused variable
Originally committed as revision 13889 to svn://svn.ffmpeg.org/ffmpeg/trunk
Robert Swain [Sun, 22 Jun 2008 15:12:27 +0000 (15:12 +0000)]
Add generic ff_sine_window_init function and implement in codecs appropriately
Originally committed as revision 13888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 22 Jun 2008 13:20:41 +0000 (13:20 +0000)]
vp6: ensure that huffman decoding table is sorted with descending symbol order
Previous code worked by pure luck with glibc qsort implementation.
patch by Peter Ross pross _at_ xvid _dot_ org
Originally committed as revision 13887 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 22 Jun 2008 13:01:24 +0000 (13:01 +0000)]
cosmetics: alignment
Originally committed as revision 13886 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 22 Jun 2008 12:56:30 +0000 (12:56 +0000)]
Add missing entry for PCM_DVD_ENCODER.
Originally committed as revision 13885 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 22 Jun 2008 12:52:26 +0000 (12:52 +0000)]
Add missing mpegvideo.o to list of vc1.o dependencies.
patch by Peter Ross, pross xvid org
Originally committed as revision 13884 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 22 Jun 2008 12:48:39 +0000 (12:48 +0000)]
Add missing entry for ADPCM_IMA_QT_ENCODER.
patch by Peter Ross, pross xvid org
Originally committed as revision 13883 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 22 Jun 2008 12:47:39 +0000 (12:47 +0000)]
Add missing entry for ADPCM_EA_MAXIS_XA_DECODER.
patch by Peter Ross, pross xvid org
Originally committed as revision 13882 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 08:53:44 +0000 (08:53 +0000)]
cosmetics, pts->dts
Originally committed as revision 13881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 08:50:57 +0000 (08:50 +0000)]
store dts in ffm headers
Originally committed as revision 13880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 08:44:58 +0000 (08:44 +0000)]
remove pts set hack, this is no more correct
Originally committed as revision 13879 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 07:33:31 +0000 (07:33 +0000)]
update seek reg ref due to r13856
Originally committed as revision 13878 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 22 Jun 2008 07:05:40 +0000 (07:05 +0000)]
Fix add_bytes_mmx and add_bytes_l2_mmx for w < 16
Originally committed as revision 13877 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 03:42:23 +0000 (03:42 +0000)]
move code setting output parameters after possible failure
Originally committed as revision 13876 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 03:30:53 +0000 (03:30 +0000)]
move code after possible failure, so no need to free
Originally committed as revision 13875 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 03:25:20 +0000 (03:25 +0000)]
check av_open_input_stream error
Originally committed as revision 13874 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 03:20:28 +0000 (03:20 +0000)]
remove return 1, we don't change state, we are still sending data
Originally committed as revision 13873 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 02:34:33 +0000 (02:34 +0000)]
free pb
Originally committed as revision 13872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 02:31:57 +0000 (02:31 +0000)]
use av_open_input_stream
Originally committed as revision 13871 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 02:15:13 +0000 (02:15 +0000)]
do not allocate st->codec, it will be overwritten later; fix memleak
Originally committed as revision 13870 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:36:15 +0000 (01:36 +0000)]
cosmetics, reindent
Originally committed as revision 13869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:35:43 +0000 (01:35 +0000)]
enable feeder threads
Originally committed as revision 13868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:31:37 +0000 (01:31 +0000)]
log to stderr
Originally committed as revision 13867 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:30:41 +0000 (01:30 +0000)]
add callback for av_log
Originally committed as revision 13866 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:13:33 +0000 (01:13 +0000)]
no need to print date anymore since done in http_log
Originally committed as revision 13865 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:12:39 +0000 (01:12 +0000)]
use ctime1
Originally committed as revision 13864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 01:08:48 +0000 (01:08 +0000)]
print date in http_log
Originally committed as revision 13863 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 00:55:23 +0000 (00:55 +0000)]
remove useless init
Originally committed as revision 13862 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 00:54:25 +0000 (00:54 +0000)]
merge declaration and init
Originally committed as revision 13861 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 00:53:28 +0000 (00:53 +0000)]
reindent
Originally committed as revision 13860 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 00:52:22 +0000 (00:52 +0000)]
http or rtsp only support
Originally committed as revision 13859 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 00:33:08 +0000 (00:33 +0000)]
fix open return check
Originally committed as revision 13858 to svn://svn.ffmpeg.org/ffmpeg/trunk
Erik Hovland [Sun, 22 Jun 2008 00:30:48 +0000 (00:30 +0000)]
fix feed_filename test, field is char [1024], patch by Erik Hovland, erik at hovland dot org
Originally committed as revision 13857 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 22 Jun 2008 00:26:25 +0000 (00:26 +0000)]
do not reset ffm pts, this avoids setting last pts to 0 and screwing up seeking
Originally committed as revision 13856 to svn://svn.ffmpeg.org/ffmpeg/trunk