Commit Graph

14189 Commits

Author SHA1 Message Date
Baptiste Coudurier
682a48a107 cleanup, remove useless parentheses
Originally committed as revision 13655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:44:43 +00:00
Justin Ruggles
7af26d14ac return error on frame sync error
Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:31:20 +00:00
Justin Ruggles
31bc6b4549 prevent crash when dba params are invalid
Originally committed as revision 13653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 23:34:26 +00:00
Rafaël Carré
d326dd9797 Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
patch by Rafaël Carré, funman videolan org

Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 22:10:53 +00:00
Baptiste Coudurier
995877956f update regression tests for ts due to r13641
Originally committed as revision 13651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 17:59:24 +00:00
Benjamin Larsson
17125bd9da Sample tested and the code worked so the comment is removed
Originally committed as revision 13650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:46:38 +00:00
Stefano Sabatini
bde15e74de Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:20:54 +00:00
Aurelien Jacobs
ca162a5004 Ensure the first audio stream is selected as the default stream
when no video stream is present.

Originally committed as revision 13648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 15:19:43 +00:00
Aurelien Jacobs
401cdd519c adjust comment to reality
Originally committed as revision 13647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 15:14:21 +00:00
Aurelien Jacobs
94f6c011d6 matroskadec: sane default value for track->time_scale
Originally committed as revision 13646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 15:09:30 +00:00
Diego Biurrun
e85754cc36 small spelling/wording fixes
Originally committed as revision 13645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 11:56:09 +00:00
Michael Niedermayer
ee3509d94e ff_fetch_timestamp() prototype
Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 03:12:56 +00:00
Michael Niedermayer
d59591fb02 In mpeg1/2 timestamps are associated with the access unit which
contains the first picture startcode that commences in the PES
packet, instead of the first access unit that commences in the
PES packet. Fix the parser to
handle that properly. This was a very long standing bug ...
The change to the seek regressions is because the mpeg ts muxer
stores too many invalid and randomized timestamps which overflow
the 4 entry buffer we use in the parser.

Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 02:43:17 +00:00
Baptiste Coudurier
d3ad044ad5 add pretty common .m2t as ts extension
Originally committed as revision 13642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 00:55:05 +00:00
Baptiste Coudurier
3654a16dc9 fix continuity counter to start at 0
Originally committed as revision 13641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 00:53:33 +00:00
Michael Niedermayer
820ad60cd9 Make update_initial_durations() also work if a dts occured before a
sequence header (that is a few known dts/pts but no known durations
previously)
cnnts1.mpg is one sample affected by this.

Originally committed as revision 13640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 00:50:22 +00:00
Michael Niedermayer
5853423c3f Do not set pts in update_initial_durations() if stream has b frames.
Originally committed as revision 13639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 00:43:56 +00:00
Måns Rullgård
c9d1924884 improve installation path selection
Originally committed as revision 13638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:51:36 +00:00
Diego Biurrun
426be5dc83 cosmetics: Split all path variables into their own list.
Originally committed as revision 13637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:47:33 +00:00
Aurelien Jacobs
ff2c222c37 matroskadec: fix potential mem leak
may or may not fix CID134 and CID135

Originally committed as revision 13636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:37:14 +00:00
Aurelien Jacobs
34ae40971b matroskadec: avoid potential mem leak
fix CID120

Originally committed as revision 13635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:27:14 +00:00
Aurelien Jacobs
fe53fa253f reorganize matroska_add_stream() to fix potential mem leak and buffer overflow
fix CID44

Originally committed as revision 13634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:07:41 +00:00
Aurelien Jacobs
4b3dc529f5 matroskadec: move ARRAY_SIZE() macro at top of the file
Originally committed as revision 13633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:01:14 +00:00
Aurelien Jacobs
9b85e378bf bump micro version after commit r13615
Originally committed as revision 13632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:00:04 +00:00
Måns Rullgård
968ae1d9cc fix servertest in out of tree builds
Originally committed as revision 13631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 22:56:58 +00:00
Baptiste Coudurier
ce8f4fb388 print correct mpeg-2 broken_link value, and print closed_gop
Originally committed as revision 13630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 19:04:14 +00:00
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