]> git.sesse.net Git - ffmpeg/log
ffmpeg
14 years agoSupport setting flags for sws.
Michael Niedermayer [Fri, 7 May 2010 09:20:45 +0000 (09:20 +0000)]
Support setting flags for sws.

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

14 years agoFavor chunk size over hitting the correct position after reading the chunk size in...
Michael Niedermayer [Fri, 7 May 2010 08:08:09 +0000 (08:08 +0000)]
Favor chunk size over hitting the correct position after reading the chunk size in asf.
Fixes issue1923

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

14 years agoAdd "Memory buffer source filter" from SOC.
Michael Niedermayer [Fri, 7 May 2010 01:25:00 +0000 (01:25 +0000)]
Add "Memory buffer source filter" from SOC.
This is needed by the current SOC-ffmpeg.c code.

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

14 years agoAdd intra refresh and crf-max support to the libavcodec libx264 wrapper.
Jason Garrett-Glaser [Thu, 6 May 2010 22:38:18 +0000 (22:38 +0000)]
Add intra refresh and crf-max support to the libavcodec libx264 wrapper.
Minor version bump.

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

14 years ago10l: store the result of clipping added in r23035
Alex Converse [Thu, 6 May 2010 20:38:42 +0000 (20:38 +0000)]
10l: store the result of clipping added in r23035

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

14 years agoError out when too many bits per frame are requested.
Alex Converse [Thu, 6 May 2010 20:35:10 +0000 (20:35 +0000)]
Error out when too many bits per frame are requested.

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

14 years agoMake the faac inspired quantizer search make sense for a slightly narrower definition...
Alex Converse [Thu, 6 May 2010 20:18:36 +0000 (20:18 +0000)]
Make the faac inspired quantizer search make sense for a slightly narrower definition of "make sense."

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

14 years agoReindent after the last commit.
Stefano Sabatini [Wed, 5 May 2010 21:45:00 +0000 (21:45 +0000)]
Reindent after the last commit.

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

14 years agoSimplify print_error(), directly use av_strerror()/strerror() for
Stefano Sabatini [Wed, 5 May 2010 21:44:57 +0000 (21:44 +0000)]
Simplify print_error(), directly use av_strerror()/strerror() for
printing the error code associated to FF_NETERROR(EPROTONOSUPPORT).

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

14 years agoMake print_error() use strerror() in case av_strerror() fails.
Stefano Sabatini [Wed, 5 May 2010 21:44:54 +0000 (21:44 +0000)]
Make print_error() use strerror() in case av_strerror() fails.

Should provide a meaningful error message for systems which do not
support strerror_r().

Fix roundup issue #1894.

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

14 years agoMake av_strerror() return -1 even in the case when av_strerror_r() is
Stefano Sabatini [Wed, 5 May 2010 21:44:47 +0000 (21:44 +0000)]
Make av_strerror() return -1 even in the case when av_strerror_r() is
not defined.

This allows applications to check if av_strerror() cannot provide a
meaningful representation for the provided error code, without having
to actually check the filled string.

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

14 years agoschroenc: Set colorspace info
David Conrad [Wed, 5 May 2010 21:38:02 +0000 (21:38 +0000)]
schroenc: Set colorspace info

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

14 years agoschroenc: Use AV_RB32
David Conrad [Wed, 5 May 2010 21:37:58 +0000 (21:37 +0000)]
schroenc: Use AV_RB32

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

14 years agoschroenc: Set open-gop
David Conrad [Wed, 5 May 2010 21:02:49 +0000 (21:02 +0000)]
schroenc: Set open-gop

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

14 years agoschroenc: Set keyframe interval
David Conrad [Wed, 5 May 2010 21:02:45 +0000 (21:02 +0000)]
schroenc: Set keyframe interval

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

14 years agoschroenc: Use constant quality for constant quality, not noise threshold
David Conrad [Wed, 5 May 2010 21:02:41 +0000 (21:02 +0000)]
schroenc: Use constant quality for constant quality, not noise threshold

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

14 years agoschroenc: Don't touch gop_structure by default, it should be left adaptive
David Conrad [Wed, 5 May 2010 21:02:37 +0000 (21:02 +0000)]
schroenc: Don't touch gop_structure by default, it should be left adaptive

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

14 years agoParse IFF metadata.
Sebastian Vater [Wed, 5 May 2010 17:26:59 +0000 (17:26 +0000)]
Parse IFF metadata.

Patch by Sebastian Vater, cdgs D basty A googlemail

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

14 years agoAlign plane size to word-boundary.
Sebastian Vater [Wed, 5 May 2010 17:02:55 +0000 (17:02 +0000)]
Align plane size to word-boundary.

Patch by Sebastian Vater, cdgs D basty A googlemail

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

14 years agomovenc: Write QuickTime chapters
David Conrad [Wed, 5 May 2010 08:41:10 +0000 (08:41 +0000)]
movenc: Write QuickTime chapters

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

14 years agomovenc: Swap positions of mov_write_header and mov_write_packet
David Conrad [Wed, 5 May 2010 08:41:06 +0000 (08:41 +0000)]
movenc: Swap positions of mov_write_header and mov_write_packet

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

14 years agomov: Read nero chapters
David Conrad [Wed, 5 May 2010 08:41:01 +0000 (08:41 +0000)]
mov: Read nero chapters

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

14 years agoDo not use pkt->size when it is potentially uninitialized.
Thierry Foucu [Tue, 4 May 2010 17:17:16 +0000 (17:17 +0000)]
Do not use pkt->size when it is potentially uninitialized.

Patch by Thierry Foucu, tfoucu gmail

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

14 years agoalternative LGPL-licensed, MMX-optimized YUV to RGB conversion routines
Diego Biurrun [Tue, 4 May 2010 09:11:01 +0000 (09:11 +0000)]
alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routines
written by Kostya Shishkov

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

14 years agoRevert r22974 int->unsigned parts that don't have any meaningful effect.
Ronald S. Bultje [Mon, 3 May 2010 22:08:31 +0000 (22:08 +0000)]
Revert r22974 int->unsigned parts that don't have any meaningful effect.

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

14 years agoMake av_strerror() print an error message mentioning the error code
Stefano Sabatini [Mon, 3 May 2010 21:56:21 +0000 (21:56 +0000)]
Make av_strerror() print an error message mentioning the error code
number if strerror_r() did not succeed for whatever reason.

This avoids the need for the application to fill the string in case
strerror_r() fails, for example because the error code is not known.

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

14 years ago10l: The SBR refactor requires the use of 2 independent output X buffers.
Alex Converse [Mon, 3 May 2010 19:21:35 +0000 (19:21 +0000)]
10l: The SBR refactor requires the use of 2 independent output X buffers.

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

14 years agoconfigure: allow compiler-specific flags for --disable-optimizations
Måns Rullgård [Mon, 3 May 2010 15:14:55 +0000 (15:14 +0000)]
configure: allow compiler-specific flags for --disable-optimizations

ICC needs at least -O1 to link so add this when optimisations are
otherwise disabled.

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

14 years agoamrnbdec: Apply AMR_SAMPLE_SCALE when finishing the decoder output
Martin Storsjö [Mon, 3 May 2010 05:57:48 +0000 (05:57 +0000)]
amrnbdec: Apply AMR_SAMPLE_SCALE when finishing the decoder output

The output scaling was accidentally removed in rev 22937.

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

14 years agoAnother buffer overflow, fixes issue1758.
Ronald S. Bultje [Sun, 2 May 2010 21:52:25 +0000 (21:52 +0000)]
Another buffer overflow, fixes issue1758.

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

14 years agoAllow to set archiver tool ar.
Carl Eugen Hoyos [Sun, 2 May 2010 18:59:15 +0000 (18:59 +0000)]
Allow to set archiver tool ar.

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

14 years agoClarify how allocation works for the picture argument for
Reimar Döffinger [Sun, 2 May 2010 16:07:29 +0000 (16:07 +0000)]
Clarify how allocation works for the picture argument for
avcodec_decode_video3.

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

14 years agoqt-faststart: Free ftyp_atom at all exit points
Martin Storsjö [Sat, 1 May 2010 21:05:28 +0000 (21:05 +0000)]
qt-faststart: Free ftyp_atom at all exit points

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

14 years agoReindent after the previous commit
Martin Storsjö [Sat, 1 May 2010 21:03:52 +0000 (21:03 +0000)]
Reindent after the previous commit

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

14 years agoRemove unnecessary checks before calling free
Martin Storsjö [Sat, 1 May 2010 21:02:23 +0000 (21:02 +0000)]
Remove unnecessary checks before calling free

Feel free to revert if you can specify a concrete case where this actually
is necessary.

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

14 years agoFix buffer overrun (or, well, actually a typo, 80 should be 0x80...).
Ronald S. Bultje [Sat, 1 May 2010 18:45:02 +0000 (18:45 +0000)]
Fix buffer overrun (or, well, actually a typo, 80 should be 0x80...).
Partially fixes issue 1758.

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

14 years agoFix off-by-one errors in description of score_max argument for
Reimar Döffinger [Sat, 1 May 2010 15:36:51 +0000 (15:36 +0000)]
Fix off-by-one errors in description of score_max argument for
av_probe_input_format2

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

14 years agoDocument av_probe_input_format2 API addition.
Reimar Döffinger [Sat, 1 May 2010 13:54:13 +0000 (13:54 +0000)]
Document av_probe_input_format2 API addition.

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

14 years agoExport av_probe_input_format2.
Reimar Döffinger [Sat, 1 May 2010 13:49:35 +0000 (13:49 +0000)]
Export av_probe_input_format2.

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

14 years agoMake device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case
Stefano Sabatini [Sat, 1 May 2010 08:24:24 +0000 (08:24 +0000)]
Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case
of failure return the stored value rather than the current errno,
which may be overwritten by a following call to close().

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

14 years agoEnforce time border monotonicity.
Alex Converse [Fri, 30 Apr 2010 23:32:42 +0000 (23:32 +0000)]
Enforce time border monotonicity.

Thanks to Chromium.

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

14 years agoMove the SBR patch count check to prevent overwrites.
Alex Converse [Fri, 30 Apr 2010 23:08:44 +0000 (23:08 +0000)]
Move the SBR patch count check to prevent overwrites.

Thanks to Chromium.

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

14 years agoIncrease size of patch_borders[].
Alex Converse [Fri, 30 Apr 2010 22:42:52 +0000 (22:42 +0000)]
Increase size of patch_borders[].

6 patches means there can be 7 borders. Found by Chromium.

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

14 years agoavi bgr24 padding fix.
Michael Niedermayer [Fri, 30 Apr 2010 22:09:42 +0000 (22:09 +0000)]
avi bgr24 padding fix.
Fixes issue1901

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

14 years agoReindent
Alex Converse [Fri, 30 Apr 2010 21:43:29 +0000 (21:43 +0000)]
Reindent

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

14 years agoRewrite ff_sbr_apply in a manner more friendly to PS.
Alex Converse [Fri, 30 Apr 2010 21:43:23 +0000 (21:43 +0000)]
Rewrite ff_sbr_apply in a manner more friendly to PS.

This includes merging ff_sbr_dequant into ff_sbr_apply.

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

14 years agoDeclare myself (Alex Converse) AAC maintainer.
Alex Converse [Fri, 30 Apr 2010 21:43:18 +0000 (21:43 +0000)]
Declare myself (Alex Converse) AAC maintainer.

Approved by the previous maintainer Rob.

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

14 years agoARM: NEON optimised VP6 edge filter
Måns Rullgård [Fri, 30 Apr 2010 21:30:27 +0000 (21:30 +0000)]
ARM: NEON optimised VP6 edge filter

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

14 years agoVP56: move vp56_edge_filter to new VP56DSPContext
Måns Rullgård [Fri, 30 Apr 2010 21:30:22 +0000 (21:30 +0000)]
VP56: move vp56_edge_filter to new VP56DSPContext

Using macro templates allows the vp[56]_adjust functions to be
inlined instead of called through function pointers.  The new
function pointers enable optimised implementations of the filters.

4% faster VP6 decoding on Cortex-A8.

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

14 years agoPrint warnig if requested samplingrate is unsupported.
Michael Niedermayer [Fri, 30 Apr 2010 00:06:36 +0000 (00:06 +0000)]
Print warnig if requested samplingrate is unsupported.

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

14 years agobswap: add macros to byteswap constants
Måns Rullgård [Thu, 29 Apr 2010 14:41:20 +0000 (14:41 +0000)]
bswap: add macros to byteswap constants

The normal byteswap functions might use inline asm which is suboptimal
with constants (and cannot be used in static initialisers), so special
macros for constants only is needed.

We should not rely on the gcc __builtin_constant_p() test since it is
not always available.

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

14 years agovfwcap: flip RGB rawvideo.
Ramiro Polla [Thu, 29 Apr 2010 13:05:27 +0000 (13:05 +0000)]
vfwcap: flip RGB rawvideo.

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

14 years agoFix typo.
Jai Menon [Wed, 28 Apr 2010 20:08:02 +0000 (20:08 +0000)]
Fix typo.

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

14 years agoAdd version to AVClass so we can add to and use fields of AVClass without ABI issues.
Michael Niedermayer [Wed, 28 Apr 2010 20:00:23 +0000 (20:00 +0000)]
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.

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

14 years agoCheck the return value of device_try_init() immediately after calling such a
Luca Abeni [Wed, 28 Apr 2010 08:02:52 +0000 (08:02 +0000)]
Check the return value of device_try_init() immediately after calling such a
function. Avoids the following warning:
libavdevice/v4l2.c: In function ‘v4l2_read_header’:
libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function

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

14 years agoFix FourCC when remuxing VP6F, regression introduced in r22941.
Anssi Hannula [Wed, 28 Apr 2010 07:57:07 +0000 (07:57 +0000)]
Fix FourCC when remuxing VP6F, regression introduced in r22941.

Patch by Anssi Hannula, anssi D hannula A iki fi

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

14 years agoReindent after the last commit.
Stefano Sabatini [Tue, 27 Apr 2010 23:22:30 +0000 (23:22 +0000)]
Reindent after the last commit.

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

14 years agoMake ffprobe show sample_aspect_ratio and display_aspect_ratio only if
Stefano Sabatini [Tue, 27 Apr 2010 23:22:27 +0000 (23:22 +0000)]
Make ffprobe show sample_aspect_ratio and display_aspect_ratio only if
sample_aspect_ratio is known.

Avoid to show bogus values, which may confuse both the human and the
machine reader.

Based on a patch by Robert Krüger $(echo lsvfhfs@tjhobm7.ef | tr "b-za" "a-z").

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

14 years agoFix weird brace placement.
Stefano Sabatini [Tue, 27 Apr 2010 22:45:27 +0000 (22:45 +0000)]
Fix weird brace placement.

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

14 years agoDrop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)
Stefano Sabatini [Tue, 27 Apr 2010 22:26:08 +0000 (22:26 +0000)]
Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)
instead which is semantically equivalent.

See the thread:
Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP
Date: Sat, 27 Mar 2010 00:51:13 +0100

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

14 years agoReduce the verbosity of the v4l2 input device
Luca Abeni [Tue, 27 Apr 2010 21:33:56 +0000 (21:33 +0000)]
Reduce the verbosity of the v4l2 input device

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

14 years agoSimplify some output messages in the v4l2 input device
Luca Abeni [Tue, 27 Apr 2010 21:32:11 +0000 (21:32 +0000)]
Simplify some output messages in the v4l2 input device

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

14 years agoReindent after rr22977.
Sebastian Vater [Tue, 27 Apr 2010 14:04:11 +0000 (14:04 +0000)]
Reindent after rr22977.

Patch by Sebastian Vater <cdgs.basty googlemail com>.

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

14 years agoMake the IFF demuxer a little more standards-compliant, e.g. respect the size
Sebastian Vater [Tue, 27 Apr 2010 14:03:47 +0000 (14:03 +0000)]
Make the IFF demuxer a little more standards-compliant, e.g. respect the size
fields of common media header chunks (these can have different sizes depending
on the type of IFF file you read), better handle odd sizes (like RIFF, every
field is padded to word) and handle headerchunks after the BODY chunk.

Patch by Sebastian Vater <cdgs.basty googlemail com>.

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

14 years agoReidnent after r22795.
Sebastian Vater [Mon, 26 Apr 2010 22:39:08 +0000 (22:39 +0000)]
Reidnent after r22795.

Patch by Sebastian Vater <cdgs.basty googlemail com>.

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

14 years agoMove some branches outside looped code. Should improve the generated asm (and
Sebastian Vater [Mon, 26 Apr 2010 22:38:41 +0000 (22:38 +0000)]
Move some branches outside looped code. Should improve the generated asm (and
thus performance) slightly.

Patch by Sebastian Vater <cdgs.basty googlemail com>.

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

14 years agoSwitch some ints to unsigned (they can only have positive values, this allows
Sebastian Vater [Mon, 26 Apr 2010 22:37:13 +0000 (22:37 +0000)]
Switch some ints to unsigned (they can only have positive values, this allows
compiler to optimize some math from mul/div to shr/shl). Also add a cast to
uint32_t when calling decodeplane32(), this silences a compiler warning.
Lastly, in decodeplane8/32(), flatten a double-loop into a single-loop and
calculate the length once before entering the loop instead of during every
iteration (since it doesn't change).

Patch by Sebastian Vater <cdgs.basty googlemail com>.

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

14 years agoMake ffmpeg use print_error() to make apparent the exact cause of
Stefano Sabatini [Mon, 26 Apr 2010 22:36:55 +0000 (22:36 +0000)]
Make ffmpeg use print_error() to make apparent the exact cause of
failure happened when trying to open the output file.

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

14 years agoMake file_open() return the error code set in errno if open() fails,
Stefano Sabatini [Mon, 26 Apr 2010 22:36:51 +0000 (22:36 +0000)]
Make file_open() return the error code set in errno if open() fails,
rather than always ENOENT.

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

14 years agoImplement v4l2 input size autodetection in v4l2_read_header().
Stefano Sabatini [Mon, 26 Apr 2010 22:07:15 +0000 (22:07 +0000)]
Implement v4l2 input size autodetection in v4l2_read_header().

Move check on frame size after the device is opened and after
device_try_init() is attempted. If the provided size value is 0x0,
perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the
current settings.

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

14 years agoMake two functions out of #define hackery.
Sebastian Vater [Mon, 26 Apr 2010 22:00:57 +0000 (22:00 +0000)]
Make two functions out of #define hackery.

Patch by Sebastian Vater, cdgs D basty A googlemail

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

14 years agoReindent after r22968.
Ronald S. Bultje [Mon, 26 Apr 2010 21:01:38 +0000 (21:01 +0000)]
Reindent after r22968.

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

14 years agoWrite clip-related decimal numbers into hex, where they make more sense.
Ronald S. Bultje [Mon, 26 Apr 2010 21:00:33 +0000 (21:00 +0000)]
Write clip-related decimal numbers into hex, where they make more sense.

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

14 years agoSet ARCH=c with --disable-asm, fix build
Måns Rullgård [Mon, 26 Apr 2010 20:30:02 +0000 (20:30 +0000)]
Set ARCH=c with --disable-asm, fix build

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

14 years agoReturn meaningful error codes, rather than always -1.
Stefano Sabatini [Mon, 26 Apr 2010 19:40:15 +0000 (19:40 +0000)]
Return meaningful error codes, rather than always -1.

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

14 years agoFix broken 32-bit clipping, and write numbers in hex instead of decimal so
Ronald S. Bultje [Mon, 26 Apr 2010 13:36:17 +0000 (13:36 +0000)]
Fix broken 32-bit clipping, and write numbers in hex instead of decimal so
they are easier to understand. Also give the add a 'u' postfix to silence
a pre-c99 compiler warning.

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

14 years agoMake ffprobe show stream->nb_frames if that info is known.
Robert Krüger [Sun, 25 Apr 2010 23:35:56 +0000 (23:35 +0000)]
Make ffprobe show stream->nb_frames if that info is known.

Patch by Robert Krüger $(echo kru3g3r@signal7.d3 | sed -e 's/3/e/g').

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

14 years agoRemove unnecessary width and height variables from v4l2_read_header().
Stefano Sabatini [Sun, 25 Apr 2010 18:47:40 +0000 (18:47 +0000)]
Remove unnecessary width and height variables from v4l2_read_header().

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

14 years agoMake avcodec_check_dimensions() return AVERROR(EINVAL) rather than -1
Stefano Sabatini [Sun, 25 Apr 2010 15:05:16 +0000 (15:05 +0000)]
Make avcodec_check_dimensions() return AVERROR(EINVAL) rather than -1
in case of invalid picture size.

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

14 years agoMark av_metadata_set() as deprecated, and use av_metadata_set2()
Stefano Sabatini [Sun, 25 Apr 2010 14:27:42 +0000 (14:27 +0000)]
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.

av_metadata_set() is going to be dropped at the next major bump.

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

14 years agoImplement ffserver.c:report_config_error() and a macro for logging
Stefano Sabatini [Sat, 24 Apr 2010 10:39:28 +0000 (10:39 +0000)]
Implement ffserver.c:report_config_error() and a macro for logging
error messages / updating the error count.

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

14 years agoStatically initialize ffserver.c:config_filename, simplify.
Stefano Sabatini [Sat, 24 Apr 2010 10:39:25 +0000 (10:39 +0000)]
Statically initialize ffserver.c:config_filename, simplify.

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

14 years agoConsistently prefer @var{VAR} over ``VAR'' for indicating filter
Stefano Sabatini [Sat, 24 Apr 2010 10:14:05 +0000 (10:14 +0000)]
Consistently prefer @var{VAR} over ``VAR'' for indicating filter
parameters.

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

14 years ago4th try at getting ansi colors working with a default of color=yes_please.
Michael Niedermayer [Fri, 23 Apr 2010 21:27:26 +0000 (21:27 +0000)]
4th try at getting ansi colors working with a default of color=yes_please.
Colors will only be used if the TERM env var is set and NO_COLOR is not set.

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

14 years agoAdd acelp_filters.o as QCELP decoder object file.
Ronald S. Bultje [Fri, 23 Apr 2010 16:45:38 +0000 (16:45 +0000)]
Add acelp_filters.o as QCELP decoder object file.

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

14 years agoMake WMAVoice decoder depend on DCT/RDFT
Ronald S. Bultje [Fri, 23 Apr 2010 16:41:55 +0000 (16:41 +0000)]
Make WMAVoice decoder depend on DCT/RDFT

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

14 years agoWorkaround for missing llrintf()
Måns Rullgård [Fri, 23 Apr 2010 16:28:10 +0000 (16:28 +0000)]
Workaround for missing llrintf()

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

14 years agoTrying _WIN32 for win32 detection.
Michael Niedermayer [Fri, 23 Apr 2010 13:15:11 +0000 (13:15 +0000)]
Trying _WIN32 for win32 detection.

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

14 years agoMerge the 2 ANSI ESC codes.
Michael Niedermayer [Fri, 23 Apr 2010 08:11:53 +0000 (08:11 +0000)]
Merge the 2 ANSI ESC codes.

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

14 years agoReenable ANSI colors, use method from VLC as suggested by ramiro.
Michael Niedermayer [Fri, 23 Apr 2010 07:33:02 +0000 (07:33 +0000)]
Reenable ANSI colors, use method from VLC as suggested by ramiro.
Please tell us asap if this breaks for your platform & terminal.

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

14 years agoac3dec: return smaller of buf_size and frame_size instead of always returning
Justin Ruggles [Thu, 22 Apr 2010 21:43:36 +0000 (21:43 +0000)]
ac3dec: return smaller of buf_size and frame_size instead of always returning
frame_size.

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

14 years agoARM: fix build for darwin/iphone
Måns Rullgård [Thu, 22 Apr 2010 21:19:32 +0000 (21:19 +0000)]
ARM: fix build for darwin/iphone

References to external symbols in asm code need prefixes.

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

14 years agoDisable ANSI color code until we figured out how to detect ANSI support in
Michael Niedermayer [Thu, 22 Apr 2010 20:39:34 +0000 (20:39 +0000)]
Disable ANSI color code until we figured out how to detect ANSI support in
the used terminal.

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

14 years agoDisable LATM AAC in mpegts, this is not supported and produce too many
Baptiste Coudurier [Thu, 22 Apr 2010 20:34:30 +0000 (20:34 +0000)]
Disable LATM AAC in mpegts, this is not supported and produce too many
bug reports. Also warn the user about it.

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

14 years agoColoring the log with ANSI.
Michael Niedermayer [Thu, 22 Apr 2010 18:58:39 +0000 (18:58 +0000)]
Coloring the log with ANSI.
Ive checked this on black and white background and found no problem in terms
of readability.
flames welcome.

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

14 years agoFix off-by-1 error in the tag parsing code.
Jai Menon [Thu, 22 Apr 2010 12:54:50 +0000 (12:54 +0000)]
Fix off-by-1 error in the tag parsing code.

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

14 years agoSet .supported_samplerates for mpeg audio encoders.
Michael Niedermayer [Thu, 22 Apr 2010 09:41:45 +0000 (09:41 +0000)]
Set .supported_samplerates for mpeg audio encoders.

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

14 years agoMake sure ffmpeg chooses a supported samplerte if the encoder supports
Michael Niedermayer [Thu, 22 Apr 2010 09:40:51 +0000 (09:40 +0000)]
Make sure ffmpeg chooses a supported samplerte if the encoder supports
just some.

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

14 years agoMade FLIC demuxer capable of handling the videos from "X-COM: Terror from the Deep".
Tomas Härdin [Thu, 22 Apr 2010 09:04:33 +0000 (09:04 +0000)]
Made FLIC demuxer capable of handling the videos from "X-COM: Terror from the Deep".

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

14 years agoSupport VP6F in Matroska.
Christian Schmidt [Thu, 22 Apr 2010 08:57:28 +0000 (08:57 +0000)]
Support VP6F in Matroska.

Patch by Christian Schmidt, schmidt digadd de

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