Commit Graph

6879 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
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
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
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
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
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
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
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
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
Justin Ruggles
9b57545934 simplify
Originally committed as revision 13589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 22:12:01 +00:00
Justin Ruggles
6e74513a48 set lfe params at frame init instead of in every block
Originally committed as revision 13588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:57:45 +00:00
Justin Ruggles
b85a15fe73 only calculate number of exponent groups when exponents are not reused.
Originally committed as revision 13587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:53:31 +00:00
Justin Ruggles
aa148649a4 cosmetics: remove unneeded braces
Originally committed as revision 13586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:37:28 +00:00
Justin Ruggles
7e13b31c19 10l: cosmetics
Originally committed as revision 13585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 19:59:10 +00:00
Justin Ruggles
e25973a1fd new dba values requires running last 2 bit allocation stages
Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 19:56:54 +00:00
Justin Ruggles
ff5d419e2f get_transform_coeffs() never returns an error, so make the function and its children return void.
Originally committed as revision 13582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 16:04:41 +00:00
Vitor Sessak
2f7d6835b6 Add doxy comments to eq() and do_voice()
Originally committed as revision 13581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:37:41 +00:00
Justin Ruggles
fbe52e4188 use enum value for CRC error
Originally committed as revision 13580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:31:57 +00:00