platform/upstream/libav.git
16 years agoCheck number of bits so we do not try to use table entries which do not exist.
Michael Niedermayer [Mon, 16 Jun 2008 23:16:44 +0000 (23:16 +0000)]
Check number of bits so we do not try to use table entries which do not exist.

Originally committed as revision 13785 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSupport decoding of sample_g726.asf.
Michael Niedermayer [Mon, 16 Jun 2008 23:12:50 +0000 (23:12 +0000)]
Support decoding of sample_g726.asf.

Originally committed as revision 13784 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove some useless code
Aurelien Jacobs [Mon, 16 Jun 2008 23:11:02 +0000 (23:11 +0000)]
matroskadec: remove some useless code

Originally committed as revision 13783 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoget_bits() outputs exactly as many bits as requested no need to mask them.
Michael Niedermayer [Mon, 16 Jun 2008 20:42:54 +0000 (20:42 +0000)]
get_bits() outputs exactly as many bits as requested no need to mask them.

Originally committed as revision 13782 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove dead code.
Michael Niedermayer [Mon, 16 Jun 2008 20:40:44 +0000 (20:40 +0000)]
Remove dead code.

Originally committed as revision 13781 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoGenerate pkg-config files in each library subdirectory so that they do
Diego Biurrun [Mon, 16 Jun 2008 18:01:55 +0000 (18:01 +0000)]
Generate pkg-config files in each library subdirectory so that they do
not clutter the root of the source tree.

Originally committed as revision 13780 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDon't show advanced subtitle options within the ffmpeg -h generic
Stefano Sabatini [Mon, 16 Jun 2008 13:02:22 +0000 (13:02 +0000)]
Don't show advanced subtitle options within the ffmpeg -h generic
advanced options.

Originally committed as revision 13779 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDon't show subtitle and grab options within the ffmpeg -h generic options.
Stefano Sabatini [Mon, 16 Jun 2008 10:00:32 +0000 (10:00 +0000)]
Don't show subtitle and grab options within the ffmpeg -h generic options.

Originally committed as revision 13778 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix an example command in ffserver-doc.texi.
Stefano Sabatini [Mon, 16 Jun 2008 08:26:38 +0000 (08:26 +0000)]
Fix an example command in ffserver-doc.texi.

Originally committed as revision 13777 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd missing #includes to fix 'make checkheaders'.
Diego Biurrun [Mon, 16 Jun 2008 08:25:48 +0000 (08:25 +0000)]
Add missing #includes to fix 'make checkheaders'.

Originally committed as revision 13776 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix verbatim mode decoding. patch by Jai Menon (realityman gmx net).
Jai Menon [Sun, 15 Jun 2008 18:01:25 +0000 (18:01 +0000)]
fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).

Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoset correct ftyp minor version for 3gp/2
Baptiste Coudurier [Sun, 15 Jun 2008 01:38:38 +0000 (01:38 +0000)]
set correct ftyp minor version for 3gp/2

Originally committed as revision 13774 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoinvert mode_mov condition
Baptiste Coudurier [Sat, 14 Jun 2008 21:12:51 +0000 (21:12 +0000)]
invert mode_mov condition

Originally committed as revision 13773 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify
Baptiste Coudurier [Sat, 14 Jun 2008 21:11:16 +0000 (21:11 +0000)]
simplify

Originally committed as revision 13772 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agochange 3gp/3g2 brands if h264 is present
Baptiste Coudurier [Sat, 14 Jun 2008 21:10:11 +0000 (21:10 +0000)]
change 3gp/3g2 brands if h264 is present

Originally committed as revision 13771 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify ipod brand selection
Baptiste Coudurier [Sat, 14 Jun 2008 21:07:59 +0000 (21:07 +0000)]
simplify ipod brand selection

Originally committed as revision 13770 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix warning, write_ftyp return int now
Baptiste Coudurier [Sat, 14 Jun 2008 21:06:10 +0000 (21:06 +0000)]
fix warning, write_ftyp return int now

Originally committed as revision 13769 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoput avc1 brand in compat list when h264 is present
Baptiste Coudurier [Sat, 14 Jun 2008 21:05:28 +0000 (21:05 +0000)]
put avc1 brand in compat list when h264 is present

Originally committed as revision 13768 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago-0x8000 == 0x8000 with int16
Michael Niedermayer [Fri, 13 Jun 2008 19:30:27 +0000 (19:30 +0000)]
-0x8000 == 0x8000 with int16
fixes segfault / issue491

Originally committed as revision 13767 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoForgotten oma docs stuff
Benjamin Larsson [Fri, 13 Jun 2008 14:51:55 +0000 (14:51 +0000)]
Forgotten oma docs stuff

Originally committed as revision 13766 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoI think we are also compliant to iso2.
Michael Niedermayer [Fri, 13 Jun 2008 13:52:53 +0000 (13:52 +0000)]
I think we are also compliant to iso2.

Originally committed as revision 13765 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd isom to the compatible brands.
Michael Niedermayer [Fri, 13 Jun 2008 12:19:01 +0000 (12:19 +0000)]
Add isom to the compatible brands.

Originally committed as revision 13764 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCalculate ftyp size instead of hardcoding it.
Michael Niedermayer [Fri, 13 Jun 2008 11:30:36 +0000 (11:30 +0000)]
Calculate ftyp size instead of hardcoding it.

Originally committed as revision 13763 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: s/Id/id/ in libavcodec/roqvideodec.c when Id refers to id Software
Stefano Sabatini [Fri, 13 Jun 2008 09:30:42 +0000 (09:30 +0000)]
Cosmetics: s/Id/id/ in libavcodec/roqvideodec.c when Id refers to id Software

Originally committed as revision 13762 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake ffmpeg.c use print_error() when it can't read an ffserver stream.
Stefano Sabatini [Thu, 12 Jun 2008 22:30:01 +0000 (22:30 +0000)]
Make ffmpeg.c use print_error() when it can't read an ffserver stream.

Originally committed as revision 13761 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImprove ffmpeg error reporting in case of input/output stream mismatch,
Stefano Sabatini [Thu, 12 Jun 2008 22:07:17 +0000 (22:07 +0000)]
Improve ffmpeg error reporting in case of input/output stream mismatch,
enabling a dump_format() of the mismatched output stream.

Originally committed as revision 13760 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake AVCodec long_names definition conditional depending on CONFIG_SMALL.
Stefano Sabatini [Thu, 12 Jun 2008 21:50:13 +0000 (21:50 +0000)]
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake ffmpeg.c:opt_thread use parse_number_or_die().
Stefano Sabatini [Thu, 12 Jun 2008 21:21:28 +0000 (21:21 +0000)]
Make ffmpeg.c:opt_thread use parse_number_or_die().

Originally committed as revision 13758 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoChange opt_sync function behavior to print an error message.
Stefano Sabatini [Thu, 12 Jun 2008 11:33:53 +0000 (11:33 +0000)]
Change opt_sync function behavior to print an error message.
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 13757 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFactorize options context setting.
Stefano Sabatini [Thu, 12 Jun 2008 11:28:49 +0000 (11:28 +0000)]
Factorize options context setting.
Patch by Stefano Sabatini stefano sabatini-lala posteit

Originally committed as revision 13756 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify MODE_3G2
Michael Niedermayer [Thu, 12 Jun 2008 03:08:41 +0000 (03:08 +0000)]
simplify MODE_3G2

Originally committed as revision 13755 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoChange MODE_* to 1<<c so several can be set at the same time.
Michael Niedermayer [Thu, 12 Jun 2008 03:08:08 +0000 (03:08 +0000)]
Change MODE_* to 1<<c so several can be set at the same time.

Originally committed as revision 13754 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoenable stream copy with ffserver, to be able to chain
Baptiste Coudurier [Thu, 12 Jun 2008 01:43:52 +0000 (01:43 +0000)]
enable stream copy with ffserver, to be able to chain

Originally committed as revision 13753 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics, reindent
Baptiste Coudurier [Thu, 12 Jun 2008 00:56:54 +0000 (00:56 +0000)]
cosmetics, reindent

Originally committed as revision 13752 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agodon't write double sets of metadata in mov, only write usual ones
Baptiste Coudurier [Thu, 12 Jun 2008 00:55:49 +0000 (00:55 +0000)]
don't write double sets of metadata in mov, only write usual ones

Originally committed as revision 13751 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoset log debug when avformat debug is set
Baptiste Coudurier [Wed, 11 Jun 2008 23:45:00 +0000 (23:45 +0000)]
set log debug when avformat debug is set

Originally committed as revision 13750 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoWe have an Oma demuxer now
Benjamin Larsson [Wed, 11 Jun 2008 20:11:04 +0000 (20:11 +0000)]
We have an Oma demuxer now

Originally committed as revision 13749 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: set cur_dts after seek
Joakim Plate [Wed, 11 Jun 2008 19:54:17 +0000 (19:54 +0000)]
matroskadec: set cur_dts after seek
patch by elupus   elupus _at_ ecce _dot_ se

Originally committed as revision 13748 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Baptiste Coudurier [Wed, 11 Jun 2008 09:40:40 +0000 (09:40 +0000)]
indent

Originally committed as revision 13747 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosupport for 3gp metadata
Baptiste Coudurier [Wed, 11 Jun 2008 09:40:22 +0000 (09:40 +0000)]
support for 3gp metadata

Originally committed as revision 13746 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomove utf8 code before udta func, will be used by 3gp tags
Baptiste Coudurier [Wed, 11 Jun 2008 09:35:02 +0000 (09:35 +0000)]
move utf8 code before udta func, will be used by 3gp tags

Originally committed as revision 13745 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agowrite usual brand for ipod format
Baptiste Coudurier [Wed, 11 Jun 2008 09:33:35 +0000 (09:33 +0000)]
write usual brand for ipod format

Originally committed as revision 13744 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify
Baptiste Coudurier [Wed, 11 Jun 2008 09:06:27 +0000 (09:06 +0000)]
simplify

Originally committed as revision 13743 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofactorize psp metadata
Baptiste Coudurier [Wed, 11 Jun 2008 09:02:01 +0000 (09:02 +0000)]
factorize psp metadata

Originally committed as revision 13742 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics
Baptiste Coudurier [Wed, 11 Jun 2008 08:50:41 +0000 (08:50 +0000)]
cosmetics

Originally committed as revision 13741 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics
Baptiste Coudurier [Wed, 11 Jun 2008 08:39:35 +0000 (08:39 +0000)]
cosmetics

Originally committed as revision 13740 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosupport alac in ipod m4a format, tested on quicktime
Baptiste Coudurier [Wed, 11 Jun 2008 08:17:38 +0000 (08:17 +0000)]
support alac in ipod m4a format, tested on quicktime

Originally committed as revision 13739 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove useless wrapper func
Baptiste Coudurier [Tue, 10 Jun 2008 19:21:40 +0000 (19:21 +0000)]
remove useless wrapper func

Originally committed as revision 13738 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agom4v/m4a are usual itunes/ipod/iphone extensions
Baptiste Coudurier [Mon, 9 Jun 2008 22:14:58 +0000 (22:14 +0000)]
m4v/m4a are usual itunes/ipod/iphone extensions

Originally committed as revision 13737 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Baptiste Coudurier [Mon, 9 Jun 2008 20:14:09 +0000 (20:14 +0000)]
indent

Originally committed as revision 13736 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agorework udta handling, if any track set bitexact, don't write any metadata
Baptiste Coudurier [Mon, 9 Jun 2008 20:13:44 +0000 (20:13 +0000)]
rework udta handling, if any track set bitexact, don't write any metadata

Originally committed as revision 13735 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago10l, add parentheses
Baptiste Coudurier [Mon, 9 Jun 2008 19:58:35 +0000 (19:58 +0000)]
10l, add parentheses

Originally committed as revision 13734 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Baptiste Coudurier [Mon, 9 Jun 2008 19:56:59 +0000 (19:56 +0000)]
indent

Originally committed as revision 13733 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove obsolete requirements, quicktime 6 is from 2002, not sure if muxing scheme...
Baptiste Coudurier [Mon, 9 Jun 2008 19:56:45 +0000 (19:56 +0000)]
remove obsolete requirements, quicktime 6 is from 2002, not sure if muxing scheme still fits

Originally committed as revision 13732 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics
Baptiste Coudurier [Mon, 9 Jun 2008 18:23:06 +0000 (18:23 +0000)]
cosmetics

Originally committed as revision 13731 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove the START_TIMER/STOP_TIMER from vp3.c, they clutter the output and
Reimar Döffinger [Mon, 9 Jun 2008 16:30:59 +0000 (16:30 +0000)]
Remove the START_TIMER/STOP_TIMER from vp3.c, they clutter the output and
might cost CPU.

Originally committed as revision 13730 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAlmost-cosmetics: split out coeff_count from all_fragments struct into
Reimar Döffinger [Mon, 9 Jun 2008 16:26:28 +0000 (16:26 +0000)]
Almost-cosmetics: split out coeff_count from all_fragments struct into
a separate array.
For the OGG version at http://www.bigbuckbunny.org/index.php/download/
this results in about 50% speedup of unpack_vlcs, resulting in ca. 20% faster
overall speed.

Originally committed as revision 13729 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake timestamp debugging work nicer.
Michael Niedermayer [Mon, 9 Jun 2008 13:38:56 +0000 (13:38 +0000)]
Make timestamp debugging work nicer.

Originally committed as revision 13728 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix compilation with -DDEBUG, patch by Albert Astals Cid, aastals tv-wan es.
Albert Astals Cid [Mon, 9 Jun 2008 08:44:45 +0000 (08:44 +0000)]
Fix compilation with -DDEBUG, patch by Albert Astals Cid, aastals tv-wan es.

Originally committed as revision 13727 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove now unneeded vars
Baptiste Coudurier [Mon, 9 Jun 2008 07:43:59 +0000 (07:43 +0000)]
remove now unneeded vars

Originally committed as revision 13726 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agopass dts and pts through ffm, should fix streaming b frames
Baptiste Coudurier [Mon, 9 Jun 2008 07:43:14 +0000 (07:43 +0000)]
pass dts and pts through ffm, should fix streaming b frames

Originally committed as revision 13725 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoenable global_header flag for audio and video encoding, was wrongly part of commit...
Baptiste Coudurier [Mon, 9 Jun 2008 01:21:57 +0000 (01:21 +0000)]
enable global_header flag for audio and video encoding, was wrongly part of commit r13722

Originally committed as revision 13724 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agorevert wrong part of r13722 commit
Baptiste Coudurier [Mon, 9 Jun 2008 01:20:14 +0000 (01:20 +0000)]
revert wrong part of r13722 commit

Originally committed as revision 13723 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouniformize trellis quant option
Baptiste Coudurier [Mon, 9 Jun 2008 00:43:07 +0000 (00:43 +0000)]
uniformize trellis quant option

Originally committed as revision 13722 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agopass extradata through ffm
Baptiste Coudurier [Mon, 9 Jun 2008 00:36:27 +0000 (00:36 +0000)]
pass extradata through ffm

Originally committed as revision 13721 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove unneeded ffmpeg commandline switches, and enable quiet mode
Baptiste Coudurier [Mon, 9 Jun 2008 00:26:25 +0000 (00:26 +0000)]
remove unneeded ffmpeg commandline switches, and enable quiet mode

Originally committed as revision 13720 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd AVOption support in ffserver configuration file
Baptiste Coudurier [Mon, 9 Jun 2008 00:25:33 +0000 (00:25 +0000)]
add AVOption support in ffserver configuration file

Originally committed as revision 13719 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove ugly ffm_nopts hack, use AVFormatContext->timestamp
Baptiste Coudurier [Mon, 9 Jun 2008 00:24:29 +0000 (00:24 +0000)]
remove ugly ffm_nopts hack, use AVFormatContext->timestamp

Originally committed as revision 13718 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix typo in the names of variables assigned to OS-specific path variables.
Diego Biurrun [Sun, 8 Jun 2008 21:34:19 +0000 (21:34 +0000)]
Fix typo in the names of variables assigned to OS-specific path variables.

Originally committed as revision 13717 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomove rematrixing band table to ac3dec_data.c
Justin Ruggles [Sun, 8 Jun 2008 21:09:02 +0000 (21:09 +0000)]
move rematrixing band table to ac3dec_data.c

Originally committed as revision 13716 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd ac3dec_data.[c,h]
Justin Ruggles [Sun, 8 Jun 2008 21:08:57 +0000 (21:08 +0000)]
add ac3dec_data.[c,h]

Originally committed as revision 13715 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd fields needed for E-AC-3 decoding to decode context
Justin Ruggles [Sun, 8 Jun 2008 21:08:53 +0000 (21:08 +0000)]
add fields needed for E-AC-3 decoding to decode context

Originally committed as revision 13714 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSeparating from nellymoserdec.c parts required by encoder
Bartlomiej Wolowiec [Sun, 8 Jun 2008 20:45:18 +0000 (20:45 +0000)]
Separating from nellymoserdec.c parts required by encoder

Originally committed as revision 13713 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoOma demuxer
Benjamin Larsson [Sun, 8 Jun 2008 17:12:25 +0000 (17:12 +0000)]
Oma demuxer

Originally committed as revision 13712 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoOBJS should end in .o, not .c.
Diego Biurrun [Sun, 8 Jun 2008 14:44:38 +0000 (14:44 +0000)]
OBJS should end in .o, not .c.

Originally committed as revision 27035 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoVIS OBJS should end in .o, not .c; patch by Jan Knutar, jknutar nic fi.
Jan Knutar [Sun, 8 Jun 2008 14:44:05 +0000 (14:44 +0000)]
VIS OBJS should end in .o, not .c; patch by Jan Knutar, jknutar nic fi.

Originally committed as revision 27034 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoAdd missing #include, patch by Jan Knutar, jknutar nic fi.
Jan Knutar [Sun, 8 Jun 2008 14:41:44 +0000 (14:41 +0000)]
Add missing #include, patch by Jan Knutar, jknutar nic fi.

Originally committed as revision 27033 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoMake START/STOP_TIMER not require -v 2.
Michael Niedermayer [Sun, 8 Jun 2008 10:55:34 +0000 (10:55 +0000)]
Make START/STOP_TIMER not require -v 2.

Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSupport longer paths for and longer names in preset files.
Michael Niedermayer [Sun, 8 Jun 2008 10:52:41 +0000 (10:52 +0000)]
Support longer paths for and longer names in preset files.

Originally committed as revision 13710 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Michael Niedermayer [Sun, 8 Jun 2008 10:48:52 +0000 (10:48 +0000)]
indent

Originally committed as revision 13709 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSearch /usr(/local)/share for preset files as well.
Michael Niedermayer [Sun, 8 Jun 2008 10:48:23 +0000 (10:48 +0000)]
Search /usr(/local)/share for preset files as well.
This also fixed a null pointer dereference if HOME isnt set.

Originally committed as revision 13708 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouse unsetenv, fix warning, patch by Stefano Sabatini, stefano dot sabatini-lala at...
Stefano Sabatini [Sat, 7 Jun 2008 23:56:00 +0000 (23:56 +0000)]
use unsetenv, fix warning, patch by Stefano Sabatini, stefano dot sabatini-lala at poste dot it

Originally committed as revision 13707 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouse program_name to be more consistent with the banner, patch by Stefano Sabatini...
Stefano Sabatini [Sat, 7 Jun 2008 23:49:26 +0000 (23:49 +0000)]
use program_name to be more consistent with the banner, patch by Stefano Sabatini, stefano dot sabatini-lala at poste dot it

Originally committed as revision 13706 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosplit up header parsing function
Justin Ruggles [Sat, 7 Jun 2008 22:30:51 +0000 (22:30 +0000)]
split up header parsing function

Originally committed as revision 13705 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agostore exp_strategy for all blocks in decode context
Justin Ruggles [Sat, 7 Jun 2008 22:30:47 +0000 (22:30 +0000)]
store exp_strategy for all blocks in decode context

Originally committed as revision 13704 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agostore cpl_in_use for all blocks in decode context
Justin Ruggles [Sat, 7 Jun 2008 22:30:43 +0000 (22:30 +0000)]
store cpl_in_use for all blocks in decode context

Originally committed as revision 13703 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: add and align references to spec variable names
Justin Ruggles [Sat, 7 Jun 2008 22:30:39 +0000 (22:30 +0000)]
cosmetics: add and align references to spec variable names

Originally committed as revision 13702 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: vertical align
Justin Ruggles [Sat, 7 Jun 2008 22:30:35 +0000 (22:30 +0000)]
cosmetics: vertical align

Originally committed as revision 13701 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouse macro constants for array sizes in decode context
Justin Ruggles [Sat, 7 Jun 2008 22:30:31 +0000 (22:30 +0000)]
use macro constants for array sizes in decode context

Originally committed as revision 13700 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: vertical align
Justin Ruggles [Sat, 7 Jun 2008 22:30:26 +0000 (22:30 +0000)]
cosmetics: vertical align

Originally committed as revision 13699 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: reorder decode context fields into logical groups
Justin Ruggles [Sat, 7 Jun 2008 22:30:22 +0000 (22:30 +0000)]
cosmetics: reorder decode context fields into logical groups

Originally committed as revision 13698 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomove the decode context and some macro constants to a new file, ac3dec.h
Justin Ruggles [Sat, 7 Jun 2008 22:30:16 +0000 (22:30 +0000)]
move the decode context and some macro constants to a new file, ac3dec.h

Originally committed as revision 13697 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomove mix level tables from parser to decoder. have parser read bitstream value instea...
Justin Ruggles [Sat, 7 Jun 2008 22:30:09 +0000 (22:30 +0000)]
move mix level tables from parser to decoder. have parser read bitstream value instead of using an index to a table in the decoder.

Originally committed as revision 13696 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd more gain levels and adjust mix level tables accordingly.
Justin Ruggles [Sat, 7 Jun 2008 22:30:03 +0000 (22:30 +0000)]
add more gain levels and adjust mix level tables accordingly.

Originally committed as revision 13695 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agopass bap table to ff_ac3_bit_alloc_calc_bap()
Justin Ruggles [Sat, 7 Jun 2008 22:29:54 +0000 (22:29 +0000)]
pass bap table to ff_ac3_bit_alloc_calc_bap()

Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoset default mix levels regardless of bitstream id
Justin Ruggles [Sat, 7 Jun 2008 22:29:45 +0000 (22:29 +0000)]
set default mix levels regardless of bitstream id

Originally committed as revision 13693 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: indent
Justin Ruggles [Sat, 7 Jun 2008 22:29:38 +0000 (22:29 +0000)]
cosmetics: indent

Originally committed as revision 13692 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoskip unsupported frame types and substream id's
Justin Ruggles [Sat, 7 Jun 2008 22:29:27 +0000 (22:29 +0000)]
skip unsupported frame types and substream id's

Originally committed as revision 13691 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoread frame type from header info into decode context
Justin Ruggles [Sat, 7 Jun 2008 22:29:19 +0000 (22:29 +0000)]
read frame type from header info into decode context

Originally committed as revision 13690 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoget substreamid from ac3 parser
Justin Ruggles [Sat, 7 Jun 2008 22:29:11 +0000 (22:29 +0000)]
get substreamid from ac3 parser

Originally committed as revision 13689 to svn://svn.ffmpeg.org/ffmpeg/trunk