Commit Graph

14163 Commits

Author SHA1 Message Date
Vitor Sessak 27ee9bcf36 Remove warning that could never be triggered.
Thanks Mkhodor for pointing it out.

Originally committed as revision 13629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 18:29:04 +00:00
Michael Niedermayer 44b79c6022 indent
Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:54:19 +00:00
Michael Niedermayer e4e3230ea5 Only store timestamps when there are timestamps.
Originally committed as revision 13627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:53:54 +00:00
Michael Niedermayer 05d1d160bc Our MPEG-TS demuxer does not send complete PES packets but sends them
piecewise, thus the end values cannot be used for associating timestamps.

Originally committed as revision 13626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:40:27 +00:00
Michael Niedermayer 5c027f8866 Move new field to the end to avoid ABI breakage, I thought this struct
is not used from the outside but after rethinking it of course has to be
used if someone wants to use a parser without a lavf demuxer.

Originally committed as revision 13625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:23:25 +00:00
Michael Niedermayer ebdd73778c cosmetic
Originally committed as revision 13624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:14:01 +00:00
Michael Niedermayer ec0c5d482e Allow matching timestamps to be removed by fetch_timestamp().
Originally committed as revision 13623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:12:54 +00:00
Michael Niedermayer 21e305891c Add off argument so that fetch_timestamp can search for timestamps
not associated with the first byte of access units.

Originally committed as revision 13622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:09:56 +00:00
Michael Niedermayer cd6144948a Factorize fetch_timestamp() into its own function
Originally committed as revision 13621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:05:38 +00:00
Michael Niedermayer 4791778579 unused variable
Originally committed as revision 13620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:01:23 +00:00
Andreas Öman 1686cce6e6 Audio channels and sample rate must be set in order to skip
additional probing of a stream.

Originally committed as revision 13619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 09:15:04 +00:00
Baptiste Coudurier c5577c403f rename last_frame_offset to next_frame_offset, due to r13615
Originally committed as revision 13618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 04:08:30 +00:00
Baptiste Coudurier b73e868b4e cosmetics, remove table_ prefix
Originally committed as revision 13617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:12:43 +00:00
Michael Niedermayer 591569b596 indent
Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:10:40 +00:00
Michael Niedermayer 26f237254d Rename last_frame_offset to next_frame_offset.
(it was and is the next not the last)

Originally committed as revision 13615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:10:00 +00:00
Baptiste Coudurier 556eec43ef optimize, merge offset bits in vlc code
Originally committed as revision 13614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:07:32 +00:00
Michael Niedermayer cb63a4b37c Simplify parser core.
Originally committed as revision 13613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 02:55:30 +00:00
Justin Ruggles 406113721f move some AC3HeaderInfo struct fields to the Coded elements group.
Originally committed as revision 13612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 02:54:46 +00:00
Baptiste Coudurier 892d226857 return if bitrate is not specified or too low
Originally committed as revision 13611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 21:29:45 +00:00
Baptiste Coudurier 778346e3da add context_to_name func for logging
Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 20:51:44 +00:00
Vitor Sessak 2d73e6c8d7 Replace comments by error messages.
Thanks to Mkhodor for the tip.

Originally committed as revision 13609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:51:33 +00:00
Vitor Sessak c2a14bd72e Cosmetics
Originally committed as revision 13608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:54 +00:00
Vitor Sessak a00dc25547 Rename dec2() function
Originally committed as revision 13607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:43 +00:00
Vitor Sessak 07aee1a1f9 Rename var
Originally committed as revision 13606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:35:04 +00:00
Vitor Sessak aa3aaacb07 Rename dec1() to a more descriptive name
Originally committed as revision 13605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:33:17 +00:00
Vitor Sessak 50b8f2cf1c The function dec1() do two completly unrelated things. Split the rms calculation out of it.
Originally committed as revision 13604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:30:07 +00:00
Baptiste Coudurier ce3d365f2f restore needed cast to correct type with const
Originally committed as revision 26957 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 19:08:16 +00:00
Panagiotis Issaris 437fd77b05 Check whether the memory allocation for extradata succeeded. Fixes issue 472.
Originally committed as revision 13603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 16:25:05 +00:00
Aurelien Jacobs 934b910ba0 matroskadec: use the proper timestamp scaling for index entries
Originally committed as revision 13602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 14:41:53 +00:00
Anton Khirnov 7ff9708585 matroskadec: read TrackTimecodeScale and set timebase accordingly
patch by Anton Khirnov   wyskas _at_ gmail _dot_ com

Originally committed as revision 13601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:54:11 +00:00
Anton Khirnov cdae8eec10 matroskadec: silently discard some element ID that we don't care about
patch by Anton Khirnov   wyskas _at_ gmail _dot_ com

Originally committed as revision 13600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:39:54 +00:00
Vitor Sessak a94701d03c Yet more variable renaming
Originally committed as revision 13599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:30:15 +00:00
Vitor Sessak d4f0cc1c9f More variable renaming
Originally committed as revision 13598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:28:41 +00:00
Vitor Sessak 907892ee19 Rename functions
Originally committed as revision 13597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:17:22 +00:00
Vitor Sessak d981252c27 Rename variables
Originally committed as revision 13596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:16:13 +00:00
Stefano Sabatini 4a567b40b1 Macro suggested by Michael which will be used to disable the
definition of long_name strings in libavcodec and libavformat.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 07:37:43 +00:00
Baptiste Coudurier b8b015f483 cast to correct type, suppress warnings
Originally committed as revision 26949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:36:23 +00:00
Baptiste Coudurier 74498eb44b cast to correct type, suppress warnings
Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:35:27 +00:00
Baptiste Coudurier 73d046e21f add const, suppress warnings
Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:34:39 +00:00
Baptiste Coudurier 87cf861c7d cast to correct type, suppress warnings
Originally committed as revision 26946 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:28:15 +00:00
Baptiste Coudurier 3e62b7e34c add const, suppress warnings
Originally committed as revision 26945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:27:45 +00:00
Baptiste Coudurier 72d6b61074 remove useless casts
Originally committed as revision 26944 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:25:07 +00:00
Baptiste Coudurier 774c386a10 add const, suppress warnings
Originally committed as revision 26943 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:23:50 +00:00
Baptiste Coudurier 994c1ef014 add const, suppress warnings
Originally committed as revision 26942 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:21:12 +00:00
Baptiste Coudurier baf7f7c64a remove useless casts
Originally committed as revision 26941 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:17:42 +00:00
Baptiste Coudurier 1be97a218e memcpy considering output width, not src linesize, fix segv with av_picture_pad
Originally committed as revision 13594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:28:33 +00:00
Baptiste Coudurier 64e3e66175 give context to av_log
Originally committed as revision 13593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:21:53 +00:00
Baptiste Coudurier 2dae1dd0dd add \n to error message
Originally committed as revision 13592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:01:22 +00:00
Michael Niedermayer 2453f40602 Prevent scalefactors from overflowing.
fixes issue351

Originally committed as revision 13591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 01:07:59 +00:00
Justin Ruggles fb2b88a816 cosmetics: add a comment, remove a comment
Originally committed as revision 13590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 22:12:49 +00:00