ffmpeg.git
10 years agoConsistently put braces for function definitions.
Stefano Sabatini [Sat, 28 Nov 2009 10:21:10 +0000 (10:21 +0000)]
Consistently put braces for function definitions.

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

10 years agoFix typo, "Write" -> "Writes".
Stefano Sabatini [Sat, 28 Nov 2009 10:17:43 +0000 (10:17 +0000)]
Fix typo, "Write" -> "Writes".

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

10 years agoUse pixel formats names defined in av_pix_fmt_descriptors rather than
Stefano Sabatini [Sat, 28 Nov 2009 01:13:43 +0000 (01:13 +0000)]
Use pixel formats names defined in av_pix_fmt_descriptors rather than
in those in pix_fmt_info, and remove the not anymore used
PixFmtInfo.name field.

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

10 years agoRemove unused PixFmtInfo.is_hwaccel field.
Stefano Sabatini [Sat, 28 Nov 2009 00:53:15 +0000 (00:53 +0000)]
Remove unused PixFmtInfo.is_hwaccel field.

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

10 years agoRemove "frame size must be a multiple of 2" check.
Michael Niedermayer [Fri, 27 Nov 2009 20:20:44 +0000 (20:20 +0000)]
Remove "frame size must be a multiple of 2" check.
This check only caught explicitly set sizes from the cmd line and overriding
the users wish seems silly, especially as it seems to work.

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

10 years agoAdd nomouse option to not record the mouse cursor.
Michael Niedermayer [Fri, 27 Nov 2009 19:36:18 +0000 (19:36 +0000)]
Add nomouse option to not record the mouse cursor.
Implements issue877

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

10 years agoRemove unused stuff.
Michael Niedermayer [Fri, 27 Nov 2009 18:56:30 +0000 (18:56 +0000)]
Remove unused stuff.

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

10 years agoReal cursor support in x11grab.
Roxis [Fri, 27 Nov 2009 17:58:48 +0000 (17:58 +0000)]
Real cursor support in x11grab.
Patch by Roxis /// roxis list dot ru
Slight changes by me to update the patch to current svn.

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

10 years agoDo not invent error codes but pass the error code on.
Michael Niedermayer [Fri, 27 Nov 2009 13:48:37 +0000 (13:48 +0000)]
Do not invent error codes but pass the error code on.

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

10 years agoReplace very odd and completely broken oss read_packet() by the obvious way to
Michael Niedermayer [Fri, 27 Nov 2009 13:37:53 +0000 (13:37 +0000)]
Replace very odd and completely broken oss read_packet() by the obvious way to
read.
Fixes issue348.

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

10 years agoFix typo.
Jai Menon [Fri, 27 Nov 2009 13:10:56 +0000 (13:10 +0000)]
Fix typo.

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

10 years agoAdd support for hardcoding the motionpixels rgb to yuv table.
Reimar Döffinger [Thu, 26 Nov 2009 21:20:28 +0000 (21:20 +0000)]
Add support for hardcoding the motionpixels rgb to yuv table.

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

10 years ago10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
Reimar Döffinger [Thu, 26 Nov 2009 21:15:06 +0000 (21:15 +0000)]
10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
This fixes playback when lavf and lavc are less tightly couples as in e.g. MPlayer.

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

10 years agoMake sws_format_name() use av_pix_fmt_descriptors.
Stefano Sabatini [Thu, 26 Nov 2009 21:08:45 +0000 (21:08 +0000)]
Make sws_format_name() use av_pix_fmt_descriptors.

This also introduces a dependency of libswscale on libavutil.

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

10 years agoMake avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
Stefano Sabatini [Thu, 26 Nov 2009 21:04:33 +0000 (21:04 +0000)]
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
pix_fmt_info.

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

10 years agoMake av_pix_fmt_descriptors use the same pixel format names as defined
Stefano Sabatini [Thu, 26 Nov 2009 20:58:37 +0000 (20:58 +0000)]
Make av_pix_fmt_descriptors use the same pixel format names as defined
in libavcodec/imgconvert.c.

Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.

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

10 years agoAllow decoders to correctly set the sample format by defaulting to
Jai Menon [Thu, 26 Nov 2009 20:46:13 +0000 (20:46 +0000)]
Allow decoders to correctly set the sample format by defaulting to
SAMPLE_FMT_NONE in avcodec_get_context_defaults2.

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

10 years agoRemove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
Stefano Sabatini [Thu, 26 Nov 2009 20:00:03 +0000 (20:00 +0000)]
Remove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
av_pix_fmt_descriptors log2_chroma_w and log2_chroma_h values instead.

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

10 years agoUpdate libavformat regression reference checksum for ffm. This change is
Jai Menon [Thu, 26 Nov 2009 18:49:34 +0000 (18:49 +0000)]
Update libavformat regression reference checksum for ffm. This change is
due to r20601.

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

10 years agoRevert "Add required header #include to fix 'make checkheaders'."
Måns Rullgård [Thu, 26 Nov 2009 10:06:41 +0000 (10:06 +0000)]
Revert "Add required header #include to fix 'make checkheaders'."

config.h must not be included in that file.  The table generator runs
on the host system, but config.h describes the target.

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

10 years agocosmetics: K&R style, prettyprinting
Diego Biurrun [Thu, 26 Nov 2009 09:59:10 +0000 (09:59 +0000)]
cosmetics: K&R style, prettyprinting

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

10 years agoMark apply_mdct() function as static; it is only used within the file.
Diego Biurrun [Thu, 26 Nov 2009 09:55:03 +0000 (09:55 +0000)]
Mark apply_mdct() function as static; it is only used within the file.

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

10 years agoUse av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
Stefano Sabatini [Thu, 26 Nov 2009 00:33:19 +0000 (00:33 +0000)]
Use av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
than the PixFmtInfo x_chroma_shift and y_chroma_shift fields.

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

10 years agoUse av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
Stefano Sabatini [Wed, 25 Nov 2009 23:52:20 +0000 (23:52 +0000)]
Use av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
access the PixFmtInfo.is_hwaccel field which is going to be removed.

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

10 years agoRemove special case that changed video sync behavior for av_q2d(enc->time_base) ...
Michael Niedermayer [Wed, 25 Nov 2009 23:33:47 +0000 (23:33 +0000)]
Remove special case that changed video sync behavior for av_q2d(enc->time_base) <= 0.001.
This should make the default behave more like one would expect and not
change behavior at 1000fps.

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

10 years agoAdd an entry for the AVFilter.next field removal.
Stefano Sabatini [Wed, 25 Nov 2009 23:32:26 +0000 (23:32 +0000)]
Add an entry for the AVFilter.next field removal.

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

10 years ago-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.
Diego Biurrun [Wed, 25 Nov 2009 23:29:36 +0000 (23:29 +0000)]
-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.

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

10 years agoAdd required header #include to fix 'make checkheaders'.
Diego Biurrun [Wed, 25 Nov 2009 23:24:09 +0000 (23:24 +0000)]
Add required header #include to fix 'make checkheaders'.

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

10 years agoRemove AVFilter.next field, since it is not used and it is not going
Stefano Sabatini [Wed, 25 Nov 2009 23:24:09 +0000 (23:24 +0000)]
Remove AVFilter.next field, since it is not used and it is not going
to be used since the implementation of the new filter registration
system.

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

10 years agoFix nv12/nv21 handling. linesize for plane 1 should account for both chroma
Ramiro Polla [Wed, 25 Nov 2009 17:14:48 +0000 (17:14 +0000)]
Fix nv12/nv21 handling. linesize for plane 1 should account for both chroma
planes instead of just doubling the height while computing plane sizes. Also
adjust avpicture_layout() to copy the correct amount of data for plane 1.

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

10 years agoSupport compiling against libtheora older than 1.1
David Conrad [Wed, 25 Nov 2009 16:00:14 +0000 (16:00 +0000)]
Support compiling against libtheora older than 1.1

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

10 years agoAdd an entry for the avfilter_next() function addition.
Stefano Sabatini [Wed, 25 Nov 2009 00:01:14 +0000 (00:01 +0000)]
Add an entry for the avfilter_next() function addition.

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

10 years agoImplement avfilter_next().
Stefano Sabatini [Tue, 24 Nov 2009 23:58:48 +0000 (23:58 +0000)]
Implement avfilter_next().

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

10 years agoAdd an entry for the avfilter_register() signature change.
Stefano Sabatini [Tue, 24 Nov 2009 23:52:07 +0000 (23:52 +0000)]
Add an entry for the avfilter_register() signature change.

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

10 years agoImplement a new registration system for filters.
Stefano Sabatini [Tue, 24 Nov 2009 23:47:33 +0000 (23:47 +0000)]
Implement a new registration system for filters.

Create a new static array containing pointers to the AVFilter
definitions, so that the non-constant next filter in the AVFilter
struct is not anymore required and the AVFilter definitions may be
stored in shareable memory.

Also change the signature for avfilter_register(), make it return an
int since it may fail if there is not enough space in the static array
for the registered filters.

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

10 years agoAdd an entry for the pixdesc.h API publication.
Stefano Sabatini [Tue, 24 Nov 2009 23:38:20 +0000 (23:38 +0000)]
Add an entry for the pixdesc.h API publication.

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

10 years agoMake the pixdesc API public.
Stefano Sabatini [Tue, 24 Nov 2009 23:33:41 +0000 (23:33 +0000)]
Make the pixdesc API public.

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

10 years agoMake lsp2polyf() function non-static for upcoming usage in SIPR
Vitor Sessak [Tue, 24 Nov 2009 16:58:50 +0000 (16:58 +0000)]
Make lsp2polyf() function non-static for upcoming usage in SIPR

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

10 years agoUpdate ffserver to include all basic x264 parameters in .ffm files.
Jason Garrett-Glaser [Tue, 24 Nov 2009 15:54:17 +0000 (15:54 +0000)]
Update ffserver to include all basic x264 parameters in .ffm files.

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

10 years agoAdd weightp support in API for libx264.
Jason Garrett-Glaser [Tue, 24 Nov 2009 15:49:34 +0000 (15:49 +0000)]
Add weightp support in API for libx264.
ffmpeg can encode baseline profile again.

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

10 years agoCall ff_find_hwaccel() after calling avcodec_set_dimensions().
Reimar Döffinger [Tue, 24 Nov 2009 15:13:47 +0000 (15:13 +0000)]
Call ff_find_hwaccel() after calling avcodec_set_dimensions().

Patch by Reimar

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

10 years agoWMA: extend exponent range to 95
Måns Rullgård [Tue, 24 Nov 2009 10:10:39 +0000 (10:10 +0000)]
WMA: extend exponent range to 95

Hopefully this will be enough.  Fixes issue 1565 (again).

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

10 years agoupdate seek regression ref due to r20579, mp3 timestamps are adjusted
Baptiste Coudurier [Tue, 24 Nov 2009 07:29:54 +0000 (07:29 +0000)]
update seek regression ref due to r20579, mp3 timestamps are adjusted

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

10 years agoDetermine VOC block length when length field is zero, fixes issue1538.
Peter Ross [Tue, 24 Nov 2009 07:08:17 +0000 (07:08 +0000)]
Determine VOC block length when length field is zero, fixes issue1538.

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

10 years agoCall avcodec_set_dimensions() instead of simply setting avctx->width/height
Kostya Shishkov [Tue, 24 Nov 2009 06:05:41 +0000 (06:05 +0000)]
Call avcodec_set_dimensions() instead of simply setting avctx->width/height
when frame dimensions change in RV3/4.

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

10 years agoAdd missing include. Fix the following compiler warnings:
Vitor Sessak [Mon, 23 Nov 2009 22:28:45 +0000 (22:28 +0000)]
Add missing include. Fix the following compiler warnings:
twinvq.c: In function 'decode_lsp':
twinvq.c:575: warning: implicit declaration of function 'ff_sort_nearly_sorted_floats'

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

10 years agoWMA: extend exponent table up to 75
Måns Rullgård [Mon, 23 Nov 2009 22:22:16 +0000 (22:22 +0000)]
WMA: extend exponent table up to 75

Fixes issue 1565.

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

10 years agoClarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.
Stefano Sabatini [Mon, 23 Nov 2009 20:14:47 +0000 (20:14 +0000)]
Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.

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

10 years agoUse avcodec_set_dimensions()
Michael Niedermayer [Mon, 23 Nov 2009 19:45:40 +0000 (19:45 +0000)]
Use avcodec_set_dimensions()

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

10 years agoCorrect order of arguments for avcodec_check_dimensions().
Michael Niedermayer [Mon, 23 Nov 2009 19:24:17 +0000 (19:24 +0000)]
Correct order of arguments for avcodec_check_dimensions().

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

10 years agoMake sure avcodec_set_dimensions() is used when rv20 changes resolution.
Michael Niedermayer [Mon, 23 Nov 2009 19:22:19 +0000 (19:22 +0000)]
Make sure avcodec_set_dimensions() is used when rv20 changes resolution.
This should fix lowres resolution changes.

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

10 years agolibtheora: using the 1.0 API requires linking to both
David Conrad [Mon, 23 Nov 2009 18:18:21 +0000 (18:18 +0000)]
libtheora: using the 1.0 API requires linking to both
libtheoraenc and libtheoradec; libtheora is the pre-1.0 library.
Documented at http://theora.org/doc/libtheora-1.0/
Fixes issue1564

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

10 years agoMOV: cprt is another tag used for copyright
David Conrad [Mon, 23 Nov 2009 08:47:47 +0000 (08:47 +0000)]
MOV: cprt is another tag used for copyright

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

10 years agoMOV: Add several iTunes metadata tags
David Conrad [Mon, 23 Nov 2009 08:47:44 +0000 (08:47 +0000)]
MOV: Add several iTunes metadata tags

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

10 years agoMOV: Fix writing \251wrt metadata (r20453 only fixed the demuxer)
David Conrad [Mon, 23 Nov 2009 08:47:40 +0000 (08:47 +0000)]
MOV: Fix writing \251wrt metadata (r20453 only fixed the demuxer)

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

10 years agoMake sorting function used in TwinVQ a shared function
Vitor Sessak [Sun, 22 Nov 2009 22:25:58 +0000 (22:25 +0000)]
Make sorting function used in TwinVQ a shared function

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

10 years agoSet colorspace for libtheora encoding
David Conrad [Sun, 22 Nov 2009 21:08:46 +0000 (21:08 +0000)]
Set colorspace for libtheora encoding

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

10 years agoSupport 4:2:2 and 4:4:4 subsampling in libtheora encoding
David Conrad [Sun, 22 Nov 2009 21:08:43 +0000 (21:08 +0000)]
Support 4:2:2 and 4:4:4 subsampling in libtheora encoding

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

10 years agoAdd support for two pass encoding in libtheora
David Conrad [Sun, 22 Nov 2009 21:08:40 +0000 (21:08 +0000)]
Add support for two pass encoding in libtheora

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

10 years agoUpdate libtheora wrapper to use the 1.0 API
David Conrad [Sun, 22 Nov 2009 21:08:37 +0000 (21:08 +0000)]
Update libtheora wrapper to use the 1.0 API

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

10 years agoset mp3 timebase to the lcm of all mp3 sample rates to fix frame duration
Baptiste Coudurier [Sun, 22 Nov 2009 21:04:18 +0000 (21:04 +0000)]
set mp3 timebase to the lcm of all mp3 sample rates to fix frame duration

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

10 years agoAdd MP4 object type for ALS.
Justin Ruggles [Sun, 22 Nov 2009 18:13:22 +0000 (18:13 +0000)]
Add MP4 object type for ALS.

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

10 years agoDelete *.d files with make clean
Måns Rullgård [Sun, 22 Nov 2009 14:22:13 +0000 (14:22 +0000)]
Delete *.d files with make clean

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

10 years agoRemove from the list of the supported formats the formats which are
Stefano Sabatini [Sun, 22 Nov 2009 11:51:41 +0000 (11:51 +0000)]
Remove from the list of the supported formats the formats which are
not correctly supported.

See the thread:
"[FFmpeg-devel] [PATCH] Remove not truly supported formats support from the crop filter".

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

10 years agoWhen searching for AMF object field value, try to find that object first
Kostya Shishkov [Sun, 22 Nov 2009 09:03:06 +0000 (09:03 +0000)]
When searching for AMF object field value, try to find that object first
instead of assuming it should occur right at given position.
This helps finding human-readable error descriptions in RTMP server replies.

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

10 years agoPrint error when RTMP protocol can't open connection
Kostya Shishkov [Sun, 22 Nov 2009 08:42:55 +0000 (08:42 +0000)]
Print error when RTMP protocol can't open connection

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

10 years agoPass only useful FLV metadata from RTMP stream
Kostya Shishkov [Sun, 22 Nov 2009 08:40:55 +0000 (08:40 +0000)]
Pass only useful FLV metadata from RTMP stream

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

10 years agoUpdate dimensions in AVCodecContext when RV3/4 frame dimensions change
Kostya Shishkov [Sun, 22 Nov 2009 07:48:35 +0000 (07:48 +0000)]
Update dimensions in AVCodecContext when RV3/4 frame dimensions change

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

10 years agoDo not write an extra byte in the iTunes 'hdlr' tag. The files on iTMS have an
Justin Ruggles [Sun, 22 Nov 2009 02:07:10 +0000 (02:07 +0000)]
Do not write an extra byte in the iTunes 'hdlr' tag.  The files on iTMS have an
extra byte and are not compliant with ISO 14496-12.  This causes some strict
demuxers (notably the MPEG-4 ALS reference software) to fail.  It has been
confirmed that not writing the extra byte will still allow the generated MP4
files to work with QuickTime/iTunes/iPod.

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

10 years ago10l: Fix inverted if-condition from r20448. Fixes issue 1562.
Alex Converse [Sat, 21 Nov 2009 20:56:46 +0000 (20:56 +0000)]
10l: Fix inverted if-condition from r20448. Fixes issue 1562.

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

10 years agoFactorize av_get_bit_rate (for future use outside of libavcodec).
Robert Krüger [Sat, 21 Nov 2009 09:58:15 +0000 (09:58 +0000)]
Factorize av_get_bit_rate (for future use outside of libavcodec).

Patch by Robert Krüger, krueger signal7 de

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

10 years agoMake show_protocols() print one protocol per line.
Stefano Sabatini [Sat, 21 Nov 2009 00:22:05 +0000 (00:22 +0000)]
Make show_protocols() print one protocol per line.

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

10 years agoDo D10 AES3 audio conversion in-place instead of using a large on-stack buffer.
Reimar Döffinger [Fri, 20 Nov 2009 23:12:55 +0000 (23:12 +0000)]
Do D10 AES3 audio conversion in-place instead of using a large on-stack buffer.

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

10 years agoAllocate pictures with enough padding for jpeg.
Michael Niedermayer [Fri, 20 Nov 2009 22:14:37 +0000 (22:14 +0000)]
Allocate pictures with enough padding for jpeg.
Ensure that jpeg does not use mbs that could require larger padding.
This might have been exploitable.

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

10 years agoIn win32 thread implementation do not access jobnr if the thread is asked
Reimar Döffinger [Fri, 20 Nov 2009 21:08:26 +0000 (21:08 +0000)]
In win32 thread implementation do not access jobnr if the thread is asked
to terminate, jobnr it does not point to a valid location in that case.

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

10 years agoFLV muxer support for Flash screen codec v2
Daniel Verkamp [Fri, 20 Nov 2009 20:02:49 +0000 (20:02 +0000)]
FLV muxer support for Flash screen codec v2

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

10 years agoAdd codec id for Flash screen codec v2 and hook it up in FLV demuxer
Daniel Verkamp [Fri, 20 Nov 2009 19:16:42 +0000 (19:16 +0000)]
Add codec id for Flash screen codec v2 and hook it up in FLV demuxer

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

10 years agoIndent
Ramiro Polla [Fri, 20 Nov 2009 11:38:37 +0000 (11:38 +0000)]
Indent

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

10 years agoDocument -formats split
Daniel Verkamp [Fri, 20 Nov 2009 10:23:40 +0000 (10:23 +0000)]
Document -formats split

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

10 years agoImplement missing case for decoding samples with large pivot value in APE
Kostya Shishkov [Fri, 20 Nov 2009 07:49:53 +0000 (07:49 +0000)]
Implement missing case for decoding samples with large pivot value in APE
decoder.
This fixes issue 1555

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

10 years agocosmetics: break some long lines and insert few spaces
Kostya Shishkov [Fri, 20 Nov 2009 07:26:17 +0000 (07:26 +0000)]
cosmetics: break some long lines and insert few spaces

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

10 years ago10l trocadero: ZMBV encoder used zero score to detect whether block should be
Kostya Shishkov [Fri, 20 Nov 2009 07:22:41 +0000 (07:22 +0000)]
10l trocadero: ZMBV encoder used zero score to detect whether block should be
XORed with source one or not, which went wrong with new block comparing code.
So track this condition explicitly.

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

10 years agoavoid integer overflow in dnxhd encoder, fixes #1557
Baptiste Coudurier [Fri, 20 Nov 2009 00:13:34 +0000 (00:13 +0000)]
avoid integer overflow in dnxhd encoder, fixes #1557

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

10 years agoclarify why the encoder is failing
Baptiste Coudurier [Thu, 19 Nov 2009 23:28:21 +0000 (23:28 +0000)]
clarify why the encoder is failing

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

10 years agoFix name for PIX_FMT_NV21 PixFmtInfo entry.
Stefano Sabatini [Thu, 19 Nov 2009 22:56:57 +0000 (22:56 +0000)]
Fix name for PIX_FMT_NV21 PixFmtInfo entry.

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

10 years agouse AVFormatContext in dprintf
Baptiste Coudurier [Thu, 19 Nov 2009 21:03:25 +0000 (21:03 +0000)]
use AVFormatContext in dprintf

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

10 years agoSplit show_formats().
Michael Niedermayer [Thu, 19 Nov 2009 16:35:55 +0000 (16:35 +0000)]
Split show_formats().

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

10 years agoDisable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
Reimar Döffinger [Thu, 19 Nov 2009 11:49:03 +0000 (11:49 +0000)]
Disable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
instead of either aborting on the assert or crashing due to writing beyond
the array due to insufficient padding.

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

10 years agoRevert r20548, it was a dream. It seems faad does not ouput the last frame
Baptiste Coudurier [Thu, 19 Nov 2009 00:05:30 +0000 (00:05 +0000)]
Revert r20548, it was a dream. It seems faad does not ouput the last frame
in any case.

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

10 years agoClarify relations between log2_chroma_w, log2_chroma_h and comp.
Stefano Sabatini [Wed, 18 Nov 2009 22:32:32 +0000 (22:32 +0000)]
Clarify relations between log2_chroma_w, log2_chroma_h and comp.

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

10 years agoMake show_formats() print each bitstream filter on a separate line.
Stefano Sabatini [Wed, 18 Nov 2009 22:27:23 +0000 (22:27 +0000)]
Make show_formats() print each bitstream filter on a separate line.
Improve readability of the output.

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

10 years agofaad needs CODEC_CAP_DELAY, otherwise you miss last frame
Baptiste Coudurier [Wed, 18 Nov 2009 21:01:42 +0000 (21:01 +0000)]
faad needs CODEC_CAP_DELAY, otherwise you miss last frame

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

10 years agoAdd functions to return library license and library configuration.
Diego Biurrun [Wed, 18 Nov 2009 17:16:02 +0000 (17:16 +0000)]
Add functions to return library license and library configuration.

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

10 years agoAdd functions to return library license and library configuration.
Diego Biurrun [Wed, 18 Nov 2009 17:15:17 +0000 (17:15 +0000)]
Add functions to return library license and library configuration.

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

10 years agoSplit avdevice.c off from alldevices.c.
Diego Biurrun [Wed, 18 Nov 2009 17:01:25 +0000 (17:01 +0000)]
Split avdevice.c off from alldevices.c.
alldevices.c is not a good place for avdevice_version().

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

10 years agoRename AVPixFmtDescriptor.nb_channels to nb_components, the new name
Stefano Sabatini [Wed, 18 Nov 2009 00:07:20 +0000 (00:07 +0000)]
Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
is more clear and lexically more consistent with API and
documentation.

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

10 years agoAdd missing #includes for avutil.h, required for the AV_VERSION* macros.
Diego Biurrun [Mon, 16 Nov 2009 18:39:26 +0000 (18:39 +0000)]
Add missing #includes for avutil.h, required for the AV_VERSION* macros.

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

10 years agoUse get_bits_left() instead of size_in_bits - get_bits_count().
Ronald S. Bultje [Mon, 16 Nov 2009 17:42:43 +0000 (17:42 +0000)]
Use get_bits_left() instead of size_in_bits - get_bits_count().

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

10 years agoCosmetics: Fix indentation.
Carl Eugen Hoyos [Mon, 16 Nov 2009 01:56:47 +0000 (01:56 +0000)]
Cosmetics: Fix indentation.

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

10 years agoPad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.
Alex Converse [Sun, 15 Nov 2009 19:40:44 +0000 (19:40 +0000)]
Pad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.

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