platform/upstream/libav.git
13 years agotcp: Check url_interrupt_cb if connect was interrupted by a signal
Thomas Guillem [Tue, 14 Dec 2010 23:03:05 +0000 (23:03 +0000)]
tcp: Check url_interrupt_cb if connect was interrupted by a signal

This makes it possible to abort a blocking connect call.

Patch by Thomas Guillem, thomas dot guillem at gmail

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

13 years ago10l: fix typo in compute_exp_strategy()
Justin Ruggles [Tue, 14 Dec 2010 22:45:35 +0000 (22:45 +0000)]
10l: fix typo in compute_exp_strategy()

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

13 years agoMove large arrays to AC3EncodeContext rather than passing them around.
Justin Ruggles [Tue, 14 Dec 2010 22:45:31 +0000 (22:45 +0000)]
Move large arrays to AC3EncodeContext rather than passing them around.

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

13 years agocosmetics: line wrap and spacing
Justin Ruggles [Tue, 14 Dec 2010 22:45:28 +0000 (22:45 +0000)]
cosmetics: line wrap and spacing

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

13 years agoUse a single value for SNR offset in the bit allocation search rather than
Justin Ruggles [Tue, 14 Dec 2010 22:45:22 +0000 (22:45 +0000)]
Use a single value for SNR offset in the bit allocation search rather than
the separate coarse and fine values.

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

13 years agoChange bit_alloc() to return the mantissa bit count.
Justin Ruggles [Tue, 14 Dec 2010 22:45:19 +0000 (22:45 +0000)]
Change bit_alloc() to return the mantissa bit count.

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

13 years agocosmetics: alignment and line wrap after last commit
Justin Ruggles [Tue, 14 Dec 2010 22:45:15 +0000 (22:45 +0000)]
cosmetics: alignment and line wrap after last commit

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

13 years agoMove bit counts to AC3EncodeContext.
Justin Ruggles [Tue, 14 Dec 2010 22:45:12 +0000 (22:45 +0000)]
Move bit counts to AC3EncodeContext.

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

13 years agoSimplify texi files naming: ff*-doc.texi -> ff*.texi.
Stefano Sabatini [Tue, 14 Dec 2010 18:38:37 +0000 (18:38 +0000)]
Simplify texi files naming: ff*-doc.texi -> ff*.texi.

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

13 years agoAdd missing dependency for matroska muxer.
Justin Ruggles [Tue, 14 Dec 2010 17:14:40 +0000 (17:14 +0000)]
Add missing dependency for matroska muxer.

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

13 years agoUpdate the test references for lavf-rm and seek-ac3_rm.
Justin Ruggles [Tue, 14 Dec 2010 16:14:52 +0000 (16:14 +0000)]
Update the test references for lavf-rm and seek-ac3_rm.
The references changed due to r25956.

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

13 years agoSplit out setting of bit allocation parameters to a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:53:43 +0000 (14:53 +0000)]
Split out setting of bit allocation parameters to a separate function.
Th new function only needs to be called at initialization because bit
allocation parameters currently do not change during encoding.

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

13 years agoSplit out counting of frame bits into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:53:40 +0000 (14:53 +0000)]
Split out counting of frame bits into a separate function.

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

13 years agocosmetics: vertical alignment
Justin Ruggles [Tue, 14 Dec 2010 14:53:36 +0000 (14:53 +0000)]
cosmetics: vertical alignment

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

13 years agoOnly calculate num_exp_groups once.
Justin Ruggles [Tue, 14 Dec 2010 14:53:33 +0000 (14:53 +0000)]
Only calculate num_exp_groups once.

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

13 years agoCheck for bit allocation error in ac3_encode_frame().
Justin Ruggles [Tue, 14 Dec 2010 14:53:30 +0000 (14:53 +0000)]
Check for bit allocation error in ac3_encode_frame().
Move error log printout to ac3_encode_frame().

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

13 years agoSplit out grouping of exponents into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:53:26 +0000 (14:53 +0000)]
Split out grouping of exponents into a separate function.

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

13 years agoSplit out mantissa quantization into separate functions.
Justin Ruggles [Tue, 14 Dec 2010 14:53:23 +0000 (14:53 +0000)]
Split out mantissa quantization into separate functions.

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

13 years agocosmetics: rearrange some functions
Justin Ruggles [Tue, 14 Dec 2010 14:53:20 +0000 (14:53 +0000)]
cosmetics: rearrange some functions

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

13 years agoReverse the exponent & exponent strategy array arrangement to simplify the
Justin Ruggles [Tue, 14 Dec 2010 14:53:17 +0000 (14:53 +0000)]
Reverse the exponent & exponent strategy array arrangement to simplify the
per-channel exponent strategy decision.  This will also make it easier to
plug-in other exponent strategy algorithms.

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

13 years agoMove writing of frame to the output bitstream to a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:53:13 +0000 (14:53 +0000)]
Move writing of frame to the output bitstream to a separate function.

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

13 years agocosmetics: remove a comment and just spacing
Justin Ruggles [Tue, 14 Dec 2010 14:53:10 +0000 (14:53 +0000)]
cosmetics: remove a comment and just spacing

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

13 years agoSplit frame size adjustment into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:53:06 +0000 (14:53 +0000)]
Split frame size adjustment into a separate function.

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

13 years agoSplit exponent processing into separate functions.
Justin Ruggles [Tue, 14 Dec 2010 14:53:02 +0000 (14:53 +0000)]
Split exponent processing into separate functions.

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

13 years agoSplit applying of MDCT into several separate functions.
Justin Ruggles [Tue, 14 Dec 2010 14:52:59 +0000 (14:52 +0000)]
Split applying of MDCT into several separate functions.

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

13 years agoSplit input sample deinterleaving into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:52:56 +0000 (14:52 +0000)]
Split input sample deinterleaving into a separate function.

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

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