]> git.sesse.net Git - ffmpeg/log
ffmpeg
13 years agoSeparate functionally different calculations in ac3_encode_frame().
Justin Ruggles [Tue, 14 Dec 2010 14:52:53 +0000 (14:52 +0000)]
Separate functionally different calculations in ac3_encode_frame().

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

13 years agocosmetics: rename 2 variables
Justin Ruggles [Tue, 14 Dec 2010 14:52:49 +0000 (14:52 +0000)]
cosmetics: rename 2 variables

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

13 years agoDeinterleave whole frame at once instead of per-block.
Justin Ruggles [Tue, 14 Dec 2010 14:52:46 +0000 (14:52 +0000)]
Deinterleave whole frame at once instead of per-block.
This reduces the amount of memcpy() by using pointers to overlap samples for
successive blocks rather than copying.

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

13 years agocosmetics: add & alter some comments
Justin Ruggles [Tue, 14 Dec 2010 14:52:43 +0000 (14:52 +0000)]
cosmetics: add & alter some comments

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

13 years agoSplit setting of bandwidth into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:52:40 +0000 (14:52 +0000)]
Split setting of bandwidth into a separate function.

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

13 years agoMove setting of bitstream_id and bitstream_mode to ac3_encode_init().
Justin Ruggles [Tue, 14 Dec 2010 14:52:37 +0000 (14:52 +0000)]
Move setting of bitstream_id and bitstream_mode to ac3_encode_init().

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

13 years agoImprove ac3_encode_init() error reporting.
Justin Ruggles [Tue, 14 Dec 2010 14:52:34 +0000 (14:52 +0000)]
Improve ac3_encode_init() error reporting.
Return AVERROR(EINVAL) instead of -1. Propogate errors from called functions.
Add some error log printouts.

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

13 years agocosmetics: indent after last commit
Justin Ruggles [Tue, 14 Dec 2010 14:52:30 +0000 (14:52 +0000)]
cosmetics: indent after last commit

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

13 years agoDon't use nested loops to iterate valid sample rates.
Justin Ruggles [Tue, 14 Dec 2010 14:52:25 +0000 (14:52 +0000)]
Don't use nested loops to iterate valid sample rates.
Eliminates a goto and mirrors the bitrate validation.

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

13 years agoRemove some duplicate local copies of avctx fields.
Justin Ruggles [Tue, 14 Dec 2010 14:52:21 +0000 (14:52 +0000)]
Remove some duplicate local copies of avctx fields.
This is an av_cold function, and we don't need to duplicate variables just to
save a few characters.

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

13 years agoSplit validation of initial user options into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:52:18 +0000 (14:52 +0000)]
Split validation of initial user options into a separate function.

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

13 years agoUse bytes instead of 16-bit words for frame size.
Justin Ruggles [Tue, 14 Dec 2010 14:52:14 +0000 (14:52 +0000)]
Use bytes instead of 16-bit words for frame size.

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

13 years agocosmetics: rename variable 'n' to 'pad_bytes'
Justin Ruggles [Tue, 14 Dec 2010 14:52:12 +0000 (14:52 +0000)]
cosmetics: rename variable 'n' to 'pad_bytes'

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

13 years agoChange output_frame_end() to return void. The frame size is already known.
Justin Ruggles [Tue, 14 Dec 2010 14:52:08 +0000 (14:52 +0000)]
Change output_frame_end() to return void. The frame size is already known.

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

13 years agocosmetics: pretty-printing
Justin Ruggles [Tue, 14 Dec 2010 14:52:04 +0000 (14:52 +0000)]
cosmetics: pretty-printing

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

13 years agocosmetics: rename some iterator variables to match what they represent
Justin Ruggles [Tue, 14 Dec 2010 14:52:00 +0000 (14:52 +0000)]
cosmetics: rename some iterator variables to match what they represent

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

13 years agocosmetics: rename a variable for consistency
Justin Ruggles [Tue, 14 Dec 2010 14:51:56 +0000 (14:51 +0000)]
cosmetics: rename a variable for consistency

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

13 years agocosmetics: rename exp_samples and global_exp to exp_shift.
Justin Ruggles [Tue, 14 Dec 2010 14:51:53 +0000 (14:51 +0000)]
cosmetics: rename exp_samples and global_exp to exp_shift.

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

13 years agocosmetics: rename 2 functions
Justin Ruggles [Tue, 14 Dec 2010 14:51:50 +0000 (14:51 +0000)]
cosmetics: rename 2 functions

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

13 years agocosmetics: use some size macros in ac3tab.c/h
Justin Ruggles [Tue, 14 Dec 2010 14:51:47 +0000 (14:51 +0000)]
cosmetics: use some size macros in ac3tab.c/h

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

13 years agoUse AC3_MAX_COEFS instead of 256 in a couple places in ac3.c
Justin Ruggles [Tue, 14 Dec 2010 14:51:43 +0000 (14:51 +0000)]
Use AC3_MAX_COEFS instead of 256 in a couple places in ac3.c

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

13 years agodefine AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.
Justin Ruggles [Tue, 14 Dec 2010 14:51:40 +0000 (14:51 +0000)]
define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.

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

13 years agoUse sizeof(array value) instead of sizeof(int16_t).
Justin Ruggles [Tue, 14 Dec 2010 14:51:36 +0000 (14:51 +0000)]
Use sizeof(array value) instead of sizeof(int16_t).

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

13 years agocosmetics: use lowercase letters for function names
Justin Ruggles [Tue, 14 Dec 2010 14:51:33 +0000 (14:51 +0000)]
cosmetics: use lowercase letters for function names

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

13 years agocosmetics: add new function documentation and clean up existing documentation
Justin Ruggles [Tue, 14 Dec 2010 14:51:30 +0000 (14:51 +0000)]
cosmetics: add new function documentation and clean up existing documentation

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

13 years agocosmetics: add more space between functions
Justin Ruggles [Tue, 14 Dec 2010 14:51:26 +0000 (14:51 +0000)]
cosmetics: add more space between functions

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

13 years agocosmetics: rearrange some functions/typedefs/macros
Justin Ruggles [Tue, 14 Dec 2010 14:51:23 +0000 (14:51 +0000)]
cosmetics: rearrange some functions/typedefs/macros

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

13 years agoSimplify group size calculation in 2 places.
Justin Ruggles [Tue, 14 Dec 2010 14:51:20 +0000 (14:51 +0000)]
Simplify group size calculation in 2 places.

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

13 years agocosmetics: make a switch/case more compact
Justin Ruggles [Tue, 14 Dec 2010 14:51:17 +0000 (14:51 +0000)]
cosmetics: make a switch/case more compact

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

13 years agoClean up fft_init() and mdct_init()
Justin Ruggles [Tue, 14 Dec 2010 14:51:12 +0000 (14:51 +0000)]
Clean up fft_init() and mdct_init()

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

13 years agocosmetics: pretty-printing, alignment, etc...
Justin Ruggles [Tue, 14 Dec 2010 14:51:09 +0000 (14:51 +0000)]
cosmetics: pretty-printing, alignment, etc...

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

13 years agoRemove unneeded #include
Justin Ruggles [Tue, 14 Dec 2010 14:51:05 +0000 (14:51 +0000)]
Remove unneeded #include

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

13 years agoSimplify fix15().
Justin Ruggles [Tue, 14 Dec 2010 14:51:02 +0000 (14:51 +0000)]
Simplify fix15().
Turn it into 2 macros, and use av_clip_int16() and lrintf().
This matches the int16 to float sample conversion in audioconvert.c.
The regression test output is different due to lrintf() rounding.

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

13 years agoFix the fixed-point MDCT and FFT tests so that they actually compile and work.
Justin Ruggles [Tue, 14 Dec 2010 14:50:58 +0000 (14:50 +0000)]
Fix the fixed-point MDCT and FFT tests so that they actually compile and work.

Also, use LFG from libavutil instead of random().

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

13 years agoSplit out initialization of MDCT tables into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:50:54 +0000 (14:50 +0000)]
Split out initialization of MDCT tables into a separate function.

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

13 years agocosmetics: Document AC3EncodeContext fields.
Justin Ruggles [Tue, 14 Dec 2010 14:50:49 +0000 (14:50 +0000)]
cosmetics: Document AC3EncodeContext fields.

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

13 years agoRemove unneeded debugging messages.
Justin Ruggles [Tue, 14 Dec 2010 14:50:45 +0000 (14:50 +0000)]
Remove unneeded debugging messages.

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

13 years agocosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2.
Justin Ruggles [Tue, 14 Dec 2010 14:50:40 +0000 (14:50 +0000)]
cosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2.

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

13 years agocosmetics: use better (and shared) macro names for some constant values
Justin Ruggles [Tue, 14 Dec 2010 14:50:34 +0000 (14:50 +0000)]
cosmetics: use better (and shared) macro names for some constant values

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

13 years agoRemove duplicate AC3EncodeContext fields, sr_shift and sr_code.
Justin Ruggles [Tue, 14 Dec 2010 14:50:30 +0000 (14:50 +0000)]
Remove duplicate AC3EncodeContext fields, sr_shift and sr_code.

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

13 years agocosmetics: rename some fields in AC3EncodeContext
Justin Ruggles [Tue, 14 Dec 2010 14:50:27 +0000 (14:50 +0000)]
cosmetics: rename some fields in AC3EncodeContext

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

13 years agocosmetics: change all short to int16_t
Justin Ruggles [Tue, 14 Dec 2010 14:50:23 +0000 (14:50 +0000)]
cosmetics: change all short to int16_t

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

13 years agoChange some unsigned types to signed types in AC3EncodeContext
Justin Ruggles [Tue, 14 Dec 2010 14:50:20 +0000 (14:50 +0000)]
Change some unsigned types to signed types in AC3EncodeContext

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

13 years agocosmetics: rearrange AC3EncodeContext fields
Justin Ruggles [Tue, 14 Dec 2010 14:50:15 +0000 (14:50 +0000)]
cosmetics: rearrange AC3EncodeContext fields

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

13 years agoconfigure: Allow disabling symbol versioning via --disable-symver
Martin Storsjö [Tue, 14 Dec 2010 08:34:57 +0000 (08:34 +0000)]
configure: Allow disabling symbol versioning via --disable-symver

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

13 years agoReturn the amount of input data actually used in the qdm2 decoder,
Reimar Döffinger [Mon, 13 Dec 2010 17:54:00 +0000 (17:54 +0000)]
Return the amount of input data actually used in the qdm2 decoder,
allows playback of files where multiple qdm2 packets have been merged.

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

13 years agoAdd gradfun filter, ported from MPlayer.
Nolan L [Sun, 12 Dec 2010 17:59:10 +0000 (17:59 +0000)]
Add gradfun filter, ported from MPlayer.

Patch by Nolan L nol888 <=> gmail >=< com.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)
Date: Mon, 29 Nov 2010 07:18:14 -0500

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

13 years agoAvoid rollover in settings conversion.
James Zern [Sun, 12 Dec 2010 16:27:32 +0000 (16:27 +0000)]
Avoid rollover in settings conversion.

Patch by James Zern, jzern google

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

13 years agoReindent.
Stefano Sabatini [Sun, 12 Dec 2010 16:19:40 +0000 (16:19 +0000)]
Reindent.

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

13 years agoFix encoding when the input audio format/rate/channels changes during
Stefano Sabatini [Sun, 12 Dec 2010 16:18:50 +0000 (16:18 +0000)]
Fix encoding when the input audio format/rate/channels changes during
transcoding.

Fix issue #2292.

Patch sponsored by KIM Keep In Mind GmbH, srl.

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

13 years agoFix avpicture_alloc(), which was aligning the linesizes with 0 and thus
Stefano Sabatini [Sun, 12 Dec 2010 15:31:49 +0000 (15:31 +0000)]
Fix avpicture_alloc(), which was aligning the linesizes with 0 and thus
causing a wrong allocation.

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

13 years agoAdd section describing the filtergraph.
Stefano Sabatini [Sun, 12 Dec 2010 13:39:21 +0000 (13:39 +0000)]
Add section describing the filtergraph.

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

13 years agoMake avfilter_parse_graph() output a more meaningful message when an
Stefano Sabatini [Sun, 12 Dec 2010 13:39:16 +0000 (13:39 +0000)]
Make avfilter_parse_graph() output a more meaningful message when an
invalid filterchain is detected.

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

13 years agoFix indention of one forgotten line in ffv1.c
Michael Niedermayer [Sun, 12 Dec 2010 02:54:21 +0000 (02:54 +0000)]
Fix indention of one forgotten line in ffv1.c

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

13 years agocosmetics: vertical alignment after last commit
Justin Ruggles [Sun, 12 Dec 2010 00:53:01 +0000 (00:53 +0000)]
cosmetics: vertical alignment after last commit

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

13 years agoflac_parser: only buffer the estimated amount of input needed.
Michael Chinen [Sun, 12 Dec 2010 00:52:57 +0000 (00:52 +0000)]
flac_parser: only buffer the estimated amount of input needed.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoMake FLAC parser return frames when it has the required amount
Michael Chinen [Sun, 12 Dec 2010 00:52:54 +0000 (00:52 +0000)]
Make FLAC parser return frames when it has the required amount
(without buffering extra input).
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoReturn an error when get_buffer reads none or only partial data instead
Reimar Döffinger [Sat, 11 Dec 2010 21:41:47 +0000 (21:41 +0000)]
Return an error when get_buffer reads none or only partial data instead
of returning packets with uninitialized data.
Returning partial packets as for other demuxers is problematice due to
packet scrambling and thus is not done.

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

13 years agoEnsure that packets returned from ASF demuxer are properly 0-padded.
Reimar Döffinger [Sat, 11 Dec 2010 21:39:08 +0000 (21:39 +0000)]
Ensure that packets returned from ASF demuxer are properly 0-padded.

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

13 years agoRemove hack in MP3 probe that was meant as a work-around for large
Reimar Döffinger [Sat, 11 Dec 2010 21:34:50 +0000 (21:34 +0000)]
Remove hack in MP3 probe that was meant as a work-around for large
ID3v2 tags which no longer works since ID3v2 handling was moved to
generic code.
In addition, in caused false-positives for all files starting with
one or more 0-bytes.

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

13 years agoDefine PODPAGES in Makefile, and make them depend on
Stefano Sabatini [Sat, 11 Dec 2010 12:00:41 +0000 (12:00 +0000)]
Define PODPAGES in Makefile, and make them depend on
fftools-common-opts.texi.

Fix pod files updating when fftools-common-opts.texi is changed.

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

13 years agoShow per-codec options on FFmpeg commandline help.
Justin Ruggles [Fri, 10 Dec 2010 18:25:02 +0000 (18:25 +0000)]
Show per-codec options on FFmpeg commandline help.

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

13 years agoid3v2: skip data length indicator
Anton Khirnov [Fri, 10 Dec 2010 15:48:56 +0000 (15:48 +0000)]
id3v2: skip data length indicator

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

13 years agoadd my GPG fingerprint
Anton Khirnov [Fri, 10 Dec 2010 15:41:23 +0000 (15:41 +0000)]
add my GPG fingerprint

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

13 years agoFix typo.
Stefano Sabatini [Thu, 9 Dec 2010 17:34:44 +0000 (17:34 +0000)]
Fix typo.

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

13 years agoMove AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
Stefano Sabatini [Thu, 9 Dec 2010 17:27:33 +0000 (17:27 +0000)]
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

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

13 years agoMake avpicture_alloc() return meaningful values.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:09 +0000 (10:24 +0000)]
Make avpicture_alloc() return meaningful values.

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

13 years agoReindent.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:07 +0000 (10:24 +0000)]
Reindent.

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

13 years agoUse av_image_alloc() in avpicture_alloc(), simplify.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:02 +0000 (10:24 +0000)]
Use av_image_alloc() in avpicture_alloc(), simplify.

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

13 years agoDon't try to demux WavPack files with >2 channels until we can support them
Kostya Shishkov [Tue, 7 Dec 2010 18:15:06 +0000 (18:15 +0000)]
Don't try to demux WavPack files with >2 channels until we can support them

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

13 years agofix building test programs with gnu make 3.82
Ramiro Polla [Tue, 7 Dec 2010 16:42:25 +0000 (16:42 +0000)]
fix building test programs with gnu make 3.82

Test programs may be named either %.c or %-test.c. In some cases (ie. fft),
both files exist and make has to choose which rule to use. Up to gnu make
3.81, rules were applied in definition order, in this case favouring the
generic %.c rule from common.mak. gnu make 3.82 uses a shortest stem first
order, applying definition order for same length stems. In this case,
%-test.c must come first in order for make to pick the proper source file.

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

13 years agocolorspace-test: fix build
Ramiro Polla [Tue, 7 Dec 2010 15:27:11 +0000 (15:27 +0000)]
colorspace-test: fix build

rgb32tobgr32() has been removed in favour of shuffle_bytes_2103() in r32190

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

13 years agofix building of cpu-test by including required header
Ramiro Polla [Tue, 7 Dec 2010 15:25:44 +0000 (15:25 +0000)]
fix building of cpu-test by including required header

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

13 years agoDefine FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
Michael Chinen [Tue, 7 Dec 2010 14:58:34 +0000 (14:58 +0000)]
Define FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoSimplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC
Michael Chinen [Tue, 7 Dec 2010 14:57:02 +0000 (14:57 +0000)]
Simplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC
data thanks to the recently added FLAC parser.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoAdd a FLAC parser.
Michael Chinen [Tue, 7 Dec 2010 14:50:50 +0000 (14:50 +0000)]
Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

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

13 years agocosmetics: line wrap after last commit
Justin Ruggles [Tue, 7 Dec 2010 14:02:42 +0000 (14:02 +0000)]
cosmetics: line wrap after last commit

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

13 years agoAdd log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
Michael Chinen [Tue, 7 Dec 2010 14:00:38 +0000 (14:00 +0000)]
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
to optionally silence the error messages.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoAdd is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
Michael Chinen [Tue, 7 Dec 2010 13:50:13 +0000 (13:50 +0000)]
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoCheck validity of the frame sync code in ff_flac_decode_frame_header().
Michael Chinen [Tue, 7 Dec 2010 13:42:52 +0000 (13:42 +0000)]
Check validity of the frame sync code in ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoMove decode_frame_header() from flacdec.c to flac.c/h to share with the
Michael Chinen [Tue, 7 Dec 2010 13:30:18 +0000 (13:30 +0000)]
Move decode_frame_header() from flacdec.c to flac.c/h to share with the
forthcoming FLAC parser.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agortsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known
Martin Storsjö [Tue, 7 Dec 2010 13:29:44 +0000 (13:29 +0000)]
rtsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known

This fixes cases where the RTP time base and the sample rate of the stream
differ. Previously, the AVStream time_base was unconditionally set to
the sample rate (which initially was set to one value when parsing the
rtpmap field in the SDP, but later overridden by an a=SampleRate field).

Additionally, this makes the code actually use the stream time base set
in rtpmap for video codecs, instead of hardcoding it to always be 90 kHz.

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

13 years agortsp: Parse RealRTSP sample rate declarations from the SDP
Martin Storsjö [Tue, 7 Dec 2010 13:28:45 +0000 (13:28 +0000)]
rtsp: Parse RealRTSP sample rate declarations from the SDP

The RTP time base can be different from the actual content sample rate.

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

13 years agortpdec: Handle MP3 in RealRTSP
Martin Storsjö [Tue, 7 Dec 2010 13:28:13 +0000 (13:28 +0000)]
rtpdec: Handle MP3 in RealRTSP

This fixes playback of a RealRTSP/MP3 URL from the RTSP samples on
MultimediaWiki.

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

13 years agoFix building of object files in tools/
Ramiro Polla [Tue, 7 Dec 2010 11:42:19 +0000 (11:42 +0000)]
Fix building of object files in tools/

Fixes issue issue2408.

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

13 years agoAdd fullrange support to libx264.c x264 interface
Jason Garrett-Glaser [Tue, 7 Dec 2010 09:51:27 +0000 (09:51 +0000)]
Add fullrange support to libx264.c x264 interface

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

13 years agoid3v2: skip encrypted/compressed frames
Anton Khirnov [Tue, 7 Dec 2010 07:52:54 +0000 (07:52 +0000)]
id3v2: skip encrypted/compressed frames

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

13 years agoid3v2: use a named constant instead of 0x02
Anton Khirnov [Tue, 7 Dec 2010 07:52:50 +0000 (07:52 +0000)]
id3v2: use a named constant instead of 0x02

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

13 years agoIn mov demuxer, read alac sample from extradata, fix #2406
Baptiste Coudurier [Tue, 7 Dec 2010 01:38:26 +0000 (01:38 +0000)]
In mov demuxer, read alac sample from extradata, fix #2406

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

13 years agoDeprecate the use of the NO_COLOR environment variable.
Stefano Sabatini [Mon, 6 Dec 2010 22:24:21 +0000 (22:24 +0000)]
Deprecate the use of the NO_COLOR environment variable.

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

13 years agoIntroduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
Stefano Sabatini [Mon, 6 Dec 2010 21:47:10 +0000 (21:47 +0000)]
Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
NO_COLOR (but properly prefixed for avoiding namespace conflicts).

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

13 years agoalsdec: Correct the ALS decoder by storing some parameters per-channel rather
Sprezz [Mon, 6 Dec 2010 15:18:50 +0000 (15:18 +0000)]
alsdec: Correct the ALS decoder by storing some parameters per-channel rather
than just per-block. Patch by Sprezz [sprezzatura gmx com]. Fixes Issue 2387.

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

13 years agortpdec_h264: Pass NAL type 0 through
Martin Storsjö [Mon, 6 Dec 2010 12:44:09 +0000 (12:44 +0000)]
rtpdec_h264: Pass NAL type 0 through

According to the spec, this type shouldn't ever be used. Nevertheless,
passing it through enables decoding streams which otherwise aren't
decodeable.

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

13 years agortpdec: Skip padding bytes at the end of packets
Martin Storsjö [Mon, 6 Dec 2010 12:43:38 +0000 (12:43 +0000)]
rtpdec: Skip padding bytes at the end of packets

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

13 years agoIn yadif filter, declare asm constants directly to avoid dependency on libavcodec
Baptiste Coudurier [Mon, 6 Dec 2010 00:14:15 +0000 (00:14 +0000)]
In yadif filter, declare asm constants directly to avoid dependency on libavcodec

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

13 years agortpdec_qcelp: Use the depacketizer for static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:42:14 +0000 (19:42 +0000)]
rtpdec_qcelp: Use the depacketizer for static payload types, too

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

13 years agortsp: Look for RTP payload handlers for static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:41:44 +0000 (19:41 +0000)]
rtsp: Look for RTP payload handlers for static payload types, too

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

13 years agortsp: Factorize code for initializing the rtp payload handler
Martin Storsjö [Sun, 5 Dec 2010 19:41:09 +0000 (19:41 +0000)]
rtsp: Factorize code for initializing the rtp payload handler

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

13 years agortpdec: Add functions for finding depacketizers by name or payload id
Martin Storsjö [Sun, 5 Dec 2010 19:39:50 +0000 (19:39 +0000)]
rtpdec: Add functions for finding depacketizers by name or payload id

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

13 years agortpdec: Allow dynamic payload handlers to handle static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:38:55 +0000 (19:38 +0000)]
rtpdec: Allow dynamic payload handlers to handle static payload types, too

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