platform/upstream/libav.git
13 years agoMake demuxers auto-select parsers they need
Mans Rullgard [Fri, 21 Jan 2011 18:12:17 +0000 (18:12 +0000)]
Make demuxers auto-select parsers they need

This makes configure --disable-everything --enable-demuxer=foo
work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMakefile: simplify setting of some variables
Mans Rullgard [Thu, 20 Jan 2011 02:04:19 +0000 (02:04 +0000)]
Makefile: simplify setting of some variables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoSplit mp3 demuxer and muxer into separate files.
Anton Khirnov [Fri, 21 Jan 2011 13:53:46 +0000 (13:53 +0000)]
Split mp3 demuxer and muxer into separate files.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodca: pretty-print some tables
Mans Rullgard [Fri, 21 Jan 2011 00:09:31 +0000 (00:09 +0000)]
dca: pretty-print some tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoiir: change filter type if/else to a switch.
Justin Ruggles [Thu, 20 Jan 2011 21:59:23 +0000 (21:59 +0000)]
iir: change filter type if/else to a switch.

Simplifies error handling and makes it easier to add additional filter types.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd biquad high-pass and low-pass IIR filters.
Justin Ruggles [Thu, 20 Jan 2011 21:26:47 +0000 (21:26 +0000)]
Add biquad high-pass and low-pass IIR filters.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRevert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.
Ronald S. Bultje [Thu, 20 Jan 2011 22:24:19 +0000 (17:24 -0500)]
Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.

13 years agoSet gray (128) U/V planes for chroma-less samples. Fixes two fate samples
Ronald S. Bultje [Thu, 20 Jan 2011 19:00:34 +0000 (14:00 -0500)]
Set gray (128) U/V planes for chroma-less samples. Fixes two fate samples
when played with -flags emu_edge.

13 years agoSplit out Butterworth filter coeff init to a separate function.
Justin Ruggles [Thu, 20 Jan 2011 19:06:15 +0000 (19:06 +0000)]
Split out Butterworth filter coeff init to a separate function.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agocosmetics: vertical alignment and line wrap
Justin Ruggles [Thu, 20 Jan 2011 18:28:17 +0000 (18:28 +0000)]
cosmetics: vertical alignment and line wrap

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd memory allocation failure checks to ff_iir_filter_init_coeffs().
Justin Ruggles [Thu, 20 Jan 2011 18:28:16 +0000 (18:28 +0000)]
Add memory allocation failure checks to ff_iir_filter_init_coeffs().

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMake PNG test depend on PNG codec
Mans Rullgard [Thu, 20 Jan 2011 17:52:13 +0000 (17:52 +0000)]
Make PNG test depend on PNG codec

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agocosmetics: wrap long line
Justin Ruggles [Thu, 20 Jan 2011 17:04:58 +0000 (17:04 +0000)]
cosmetics: wrap long line

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd function ff_iir_filter_flt() to accept floating-point input and output.
Justin Ruggles [Thu, 20 Jan 2011 17:24:06 +0000 (17:24 +0000)]
Add function ff_iir_filter_flt() to accept floating-point input and output.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agompegtsenc: prefer metadata keyed with "service_name"
Janne Grunau [Thu, 20 Jan 2011 14:03:47 +0000 (15:03 +0100)]
mpegtsenc: prefer metadata keyed with "service_name"

title metadata is only used as fallback if no service_name is available.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoSet service_provider and service_name in mpegts demuxer
Georgi Chorbadzhiyski [Thu, 20 Jan 2011 13:24:53 +0000 (15:24 +0200)]
Set service_provider and service_name in mpegts demuxer

Set service_provider and service_name in mpegts demuxer, previously
name and provider_name were set but since the muxer uses service_provider
and service_name use them.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: don't overwrite existing tags
Anton Khirnov [Thu, 20 Jan 2011 08:06:58 +0000 (09:06 +0100)]
id3v2: don't overwrite existing tags

Apparently some broken taggers prepend a new ID3v2 tag leaving the
existing one intact. Our parser currently reads all tags and overwrites
existing values with supposedly outdated ones.

fixes issue2419

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: convert metadata after all the tags were read
Anton Khirnov [Thu, 20 Jan 2011 08:35:59 +0000 (08:35 +0000)]
id3v2: convert metadata after all the tags were read

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: make ff_id3v2_parse static
Anton Khirnov [Thu, 20 Jan 2011 08:35:58 +0000 (08:35 +0000)]
id3v2: make ff_id3v2_parse static

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agolibavcodec minor version is > 99 so fix the formating
Georgi Chorbadzhiyski [Thu, 20 Jan 2011 08:04:45 +0000 (10:04 +0200)]
libavcodec minor version is > 99 so fix the formating

libavcodec minor version is > 99 so when printing the library versions
the output is a little bit broken:

  libavutil    50. 36. 0 / 50.36. 0
  libavcore     0. 16. 1 /  0.16. 1
  libavcodec   52.108. 0 / 52.108. 0
  libavformat  52. 94. 0 / 52.94. 0
  libavdevice  52.  2. 3 / 52. 2. 3
  libavfilter   1. 74. 0 /  1.74. 0
  libswscale    0. 12. 0 /  0.12. 0

Change the formating to look like this:

  libavutil    50. 36. 0 / 50. 36. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.108. 0 / 52.108. 0
  libavformat  52. 94. 0 / 52. 94. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 74. 0 /  1. 74. 0
  libswscale    0. 12. 0 /  0. 12. 0

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd service_provider and service_name metadata
Georgi Chorbadzhiyski [Thu, 20 Jan 2011 07:26:40 +0000 (09:26 +0200)]
Add service_provider and service_name metadata

This patch adds support in mpegts muxer for using service_provider and
service_name metadata to set service_provider_name and service_name
fields in SDT.

Example usage:
   ffmpeg -i file.ts -f mpegts -re -acodec copy -vcodec copy -f mpegts \
       -metadata service_provider="Some provider" \
       -metadata service_name="Some Channel" \
       "udp://239.0.70.2:5000?pkt_size=1316&ttl=1"

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoFix horizontal/horizontal_up 8x8l intra prediction x86/simd functions.
Ronald S. Bultje [Thu, 20 Jan 2011 01:30:18 +0000 (20:30 -0500)]
Fix horizontal/horizontal_up 8x8l intra prediction x86/simd functions.
The original functions did not work correctly for edge pixels, e.g.
when CODEC_FLAG_EMU_EDGE is set, leading to corrupt output in e.g. VLC.
Based on a patch by Daniel Kang <daniel d kang gmail com>.

Signed-off-by: Ronald S. Bultje <rsbultje gmail com>
13 years agoFix use of sstep/dstep in ff_iir_filter().
Justin Ruggles [Wed, 19 Jan 2011 20:02:05 +0000 (20:02 +0000)]
Fix use of sstep/dstep in ff_iir_filter().

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd regression test for stereo s16le in voc.
Justin Ruggles [Tue, 18 Jan 2011 17:58:49 +0000 (17:58 +0000)]
Add regression test for stereo s16le in voc.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoconfigure: fix mktemp test and fallback function
Mans Rullgard [Wed, 6 Oct 2010 23:44:52 +0000 (00:44 +0100)]
configure: fix mktemp test and fallback function

13 years agoARM: improve VFP ABI check
Mans Rullgard [Sun, 16 Jan 2011 18:42:36 +0000 (18:42 +0000)]
ARM: improve VFP ABI check

Recent gcc versions define __ARM_PCS or __ARM_PCS_VFP to indicate the
VFP ABI in use, and ARM RVCT defines __SOFTFP__ when using this ABI.
If none of these are defined, check $cross_prefix and $cc for the
substring "hardfloat", and finally fall back to a linker test.  This
gives the correct result in most configurations.

13 years agoarmcc: suppress warning about hardfp compatibility
Mans Rullgard [Sun, 16 Jan 2011 12:50:49 +0000 (12:50 +0000)]
armcc: suppress warning about hardfp compatibility

13 years agoarmcc: suppress 'assignment in condition' warning
Mans Rullgard [Sat, 15 Jan 2011 14:55:08 +0000 (14:55 +0000)]
armcc: suppress 'assignment in condition' warning

13 years agofate: simplify vp8 rules
Mans Rullgard [Sun, 16 Jan 2011 12:27:37 +0000 (12:27 +0000)]
fate: simplify vp8 rules

13 years agoa64enc: make PixelFormat arrays const
Mans Rullgard [Sat, 15 Jan 2011 22:34:49 +0000 (22:34 +0000)]
a64enc: make PixelFormat arrays const

13 years agoReplace ASMALIGN() with .p2align
Mans Rullgard [Sat, 15 Jan 2011 22:09:35 +0000 (22:09 +0000)]
Replace ASMALIGN() with .p2align

This macro has unconditionally used .p2align for a long time and
serves no useful purpose.

13 years agox86: remove VLA in ac3_downmix_sse
Mans Rullgard [Fri, 25 Jun 2010 01:37:22 +0000 (02:37 +0100)]
x86: remove VLA in ac3_downmix_sse

13 years agoregtest: add openssl to md5 alternatives
Mans Rullgard [Thu, 7 Oct 2010 12:54:10 +0000 (13:54 +0100)]
regtest: add openssl to md5 alternatives

13 years agoconfigure: make $TMPE executable
Mans Rullgard [Wed, 6 Oct 2010 14:54:35 +0000 (15:54 +0100)]
configure: make $TMPE executable

This is required on systems where the linker does not change
the permissions of an existing output file.

13 years agocpu-test: include stdio.h only for test prog
Mans Rullgard [Sat, 15 Jan 2011 15:09:26 +0000 (15:09 +0000)]
cpu-test: include stdio.h only for test prog

13 years agoUse -Bsymbolic for shared libs only, not executables
Mans Rullgard [Fri, 15 Oct 2010 10:31:58 +0000 (11:31 +0100)]
Use -Bsymbolic for shared libs only, not executables

Some linkers fail if this flag is used when creating an executable file.
Since the flag is meaningful only for shared libraries, dropping it from
the main link flags is correct.

13 years agoUse INFINITY and NAN macros instead of 1/0 and 0/0
Mans Rullgard [Mon, 18 Oct 2010 20:42:26 +0000 (21:42 +0100)]
Use INFINITY and NAN macros instead of 1/0 and 0/0

13 years agoFix quoting in version.sh
Mans Rullgard [Wed, 6 Oct 2010 14:36:58 +0000 (15:36 +0100)]
Fix quoting in version.sh

13 years agoavfilter: remove stray semicolon
Mans Rullgard [Thu, 7 Oct 2010 02:11:55 +0000 (03:11 +0100)]
avfilter: remove stray semicolon

13 years agoUpdate git-howto with ffmpeg.org URLs
Mans Rullgard [Sun, 16 Jan 2011 19:23:00 +0000 (19:23 +0000)]
Update git-howto with ffmpeg.org URLs

13 years agoconsolidate .gitignore patters into a single file
Janne Grunau [Tue, 18 Jan 2011 19:44:24 +0000 (20:44 +0100)]
consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoDeprecate CREDITS
Jason Garrett-Glaser [Tue, 18 Jan 2011 19:16:05 +0000 (11:16 -0800)]
Deprecate CREDITS
It's useless now that we've switched to git.

13 years agoInitial MAINTAINERS update
Jason Garrett-Glaser [Tue, 18 Jan 2011 19:05:51 +0000 (11:05 -0800)]
Initial MAINTAINERS update
Per http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-January/103440.html.

13 years agoRevise check for codec id in voc demuxer.
Justin Ruggles [Tue, 18 Jan 2011 17:25:44 +0000 (12:25 -0500)]
Revise check for codec id in voc demuxer.

This fixes demuxing of packets that do not contain a codec tag and come before the codec_id has been set.

13 years agoFix bug in voc demuxer that was introduced in SVN r26309.
Justin Ruggles [Tue, 18 Jan 2011 12:38:50 +0000 (07:38 -0500)]
Fix bug in voc demuxer that was introduced in SVN r26309.

Fixes issue 2560.

13 years agocosmetics: reindent
Justin Ruggles [Tue, 18 Jan 2011 16:40:13 +0000 (11:40 -0500)]
cosmetics: reindent

13 years agoAdd check for changing number of channels in DCA.
Daniel Kang [Tue, 18 Jan 2011 16:30:33 +0000 (11:30 -0500)]
Add check for changing number of channels in DCA.

Fixes issue 2505.

13 years agoUpdate threshold to detect real timebase for stream copy.
Michael Niedermayer [Tue, 18 Jan 2011 15:02:15 +0000 (16:02 +0100)]
Update threshold to detect real timebase for stream copy.
This may fix a bug where quicktime files use 1/600 timebase.

13 years agoMissing parts of IVF muxer support.
Reimar Döffinger [Tue, 18 Jan 2011 06:59:49 +0000 (07:59 +0100)]
Missing parts of IVF muxer support.

13 years agoFeed the filter chain with the sample aspect ratio from the muxer or codec layer
Michael Niedermayer [Mon, 17 Jan 2011 20:38:56 +0000 (21:38 +0100)]
Feed the filter chain with the sample aspect ratio from the muxer or codec layer
like it has been done prior libavfilter.

13 years agoAdd my GPG fingerprint to MAINTAINERS
Anssi Hannula [Mon, 17 Jan 2011 21:51:11 +0000 (23:51 +0200)]
Add my GPG fingerprint to MAINTAINERS

13 years agoMerge two if (got_picture) {} blocks in ffplay.c:get_video_frame().
Stefano Sabatini [Sun, 16 Jan 2011 17:17:00 +0000 (18:17 +0100)]
Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().

13 years agoupdate av_log_missing_feature() to git
Janne Grunau [Mon, 17 Jan 2011 21:13:50 +0000 (22:13 +0100)]
update av_log_missing_feature() to git

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoChange SVN to Git in configure
Lou Logan [Mon, 17 Jan 2011 20:44:19 +0000 (11:44 -0900)]
Change SVN to Git in configure

Changes "version from SVN" to "version from Git".

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoRemove outcommented fossil code.
Stefano Sabatini [Sun, 16 Jan 2011 17:11:34 +0000 (18:11 +0100)]
Remove outcommented fossil code.

13 years agoExplain how to set up user name/email correctly for git.
Reimar Döffinger [Mon, 17 Jan 2011 20:16:41 +0000 (21:16 +0100)]
Explain how to set up user name/email correctly for git.

13 years agoAdd muxer for IVF format.
Reimar Döffinger [Mon, 17 Jan 2011 20:11:51 +0000 (21:11 +0100)]
Add muxer for IVF format.

13 years agoprevent integer overflow in calculating duration
John Wimer [Mon, 17 Jan 2011 15:00:17 +0000 (16:00 +0100)]
prevent integer overflow in calculating duration

Signed-off-by: Martin Storsjö <martin@martin.st>
13 years agoconvert svn:ignore properties to .gitignore files
Janne Grunau [Mon, 17 Jan 2011 14:49:11 +0000 (15:49 +0100)]
convert svn:ignore properties to .gitignore files

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoAdd instructions how to check out a specific svn revision with git
Janne Grunau [Mon, 17 Jan 2011 10:28:59 +0000 (11:28 +0100)]
Add instructions how to check out a specific svn revision with git

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agorewrite git-howto for the no merge policy
Janne Grunau [Mon, 17 Jan 2011 10:02:53 +0000 (10:02 +0000)]
rewrite git-howto for the no merge policy

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

13 years agoFix date and revision for lavc 52.104.
Carl Eugen Hoyos [Mon, 17 Jan 2011 09:17:19 +0000 (09:17 +0000)]
Fix date and revision for lavc 52.104.

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

13 years agoVP3: remove an unnecessary static variable
Alexander Strange [Mon, 17 Jan 2011 08:36:13 +0000 (08:36 +0000)]
VP3: remove an unnecessary static variable

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

13 years agoAllocate last picture for 4xm pfrm if its not allocated.
Michael Niedermayer [Sun, 16 Jan 2011 22:08:34 +0000 (22:08 +0000)]
Allocate last picture for 4xm pfrm if its not allocated.
Fixes segfault and issue2527

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

13 years agoFix two typos in git howto.
Alex Converse [Sun, 16 Jan 2011 20:16:01 +0000 (20:16 +0000)]
Fix two typos in git howto.

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

13 years agoMake config_props() return AVERROR(EINVAL) rather than 1 in case of
Stefano Sabatini [Sun, 16 Jan 2011 20:11:46 +0000 (20:11 +0000)]
Make config_props() return AVERROR(EINVAL) rather than 1 in case of
failed SWScaleContext initialization.

Fix issue2546.

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

13 years agouse git describe for naming version in pure git clones
Ramiro Polla [Sun, 16 Jan 2011 18:34:09 +0000 (18:34 +0000)]
use git describe for naming version in pure git clones

Patch by: Ramiro Polla <ramiro <DOT> polla  gmail <DOT> com>

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

13 years agofix typo in git howto section heading
Janne Grunau [Sun, 16 Jan 2011 18:29:08 +0000 (18:29 +0000)]
fix typo in git howto section heading

spotted by ubitux on irc

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

13 years agoCheck 4xm headers for validity. This should avoid 1/0.
Michael Niedermayer [Sun, 16 Jan 2011 18:22:29 +0000 (18:22 +0000)]
Check 4xm headers for validity. This should avoid 1/0.

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

13 years agoAdd section how to find a svn changeset with git commands
Janne Grunau [Sun, 16 Jan 2011 18:20:06 +0000 (18:20 +0000)]
Add section how to find a svn changeset with git commands

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

13 years agoFix weird indent in get_video_frame().
Stefano Sabatini [Sun, 16 Jan 2011 17:26:00 +0000 (17:26 +0000)]
Fix weird indent in get_video_frame().

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

13 years agoAdd git-howto.
Anton Khirnov [Sun, 16 Jan 2011 17:16:48 +0000 (17:16 +0000)]
Add git-howto.

mostly written by Luca.

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

13 years agosupport decoding of files that contain the number
Sascha Sommer [Sun, 16 Jan 2011 16:39:53 +0000 (16:39 +0000)]
support decoding of files that contain the number
of vector coded coefficients in their bitstream
fixes issue 2536

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

13 years agoIn ffmpeg.texi, prefer @itemize lists over text formatted "*" lists.
Stefano Sabatini [Sun, 16 Jan 2011 13:04:56 +0000 (13:04 +0000)]
In ffmpeg.texi, prefer @itemize lists over text formatted "*" lists.

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

13 years agoValues >4 for lowres corrupt output.
Carl Eugen Hoyos [Sun, 16 Jan 2011 12:45:59 +0000 (12:45 +0000)]
Values >4 for lowres corrupt output.

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

13 years agoReformat documentation for -vsync @var{parameter}.
Stefano Sabatini [Sun, 16 Jan 2011 12:45:42 +0000 (12:45 +0000)]
Reformat documentation for -vsync @var{parameter}.

Make use of "@table @option" for showing the valid values for the
option.

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

13 years agoSince lowres == crop for bmp, remove it to avoid confusion.
Carl Eugen Hoyos [Sun, 16 Jan 2011 12:42:43 +0000 (12:42 +0000)]
Since lowres == crop for bmp, remove it to avoid confusion.

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

13 years agoFix fate breakage in r26382.
Ronald S. Bultje [Sun, 16 Jan 2011 03:20:03 +0000 (03:20 +0000)]
Fix fate breakage in r26382.

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

13 years agoRemove useless free, fix warning:
Baptiste Coudurier [Sun, 16 Jan 2011 02:47:25 +0000 (02:47 +0000)]
Remove useless free, fix warning:
libavfilter/defaults.c: In function 'avfilter_default_get_audio_buffer':
libavfilter/defaults.c:129: warning: 'buf' is used uninitialized in this function

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

13 years agoFix overflow in pred16x16_plane x86 simd code. Fixes issue 2547.
Ronald S. Bultje [Sat, 15 Jan 2011 22:00:44 +0000 (22:00 +0000)]
Fix overflow in pred16x16_plane x86 simd code. Fixes issue 2547.

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

13 years agoInclude libavcore/audioconvert.h, required for
Stefano Sabatini [Sat, 15 Jan 2011 20:43:01 +0000 (20:43 +0000)]
Include libavcore/audioconvert.h, required for
av_get_channel_layout_string() in ff_dprintf_link.

Fix compilation.

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

13 years agoReindent.
Stefano Sabatini [Sat, 15 Jan 2011 20:02:03 +0000 (20:02 +0000)]
Reindent.

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

13 years agoMake ff_dprintf_link() print meaningful information for audio links.
Stefano Sabatini [Sat, 15 Jan 2011 19:58:29 +0000 (19:58 +0000)]
Make ff_dprintf_link() print meaningful information for audio links.

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

13 years agoRemove evil timers that snuck their way into r26375.
Jason Garrett-Glaser [Sat, 15 Jan 2011 18:14:36 +0000 (18:14 +0000)]
Remove evil timers that snuck their way into r26375.

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

13 years agoFix r26375 on non-x86.
Jason Garrett-Glaser [Sat, 15 Jan 2011 18:13:40 +0000 (18:13 +0000)]
Fix r26375 on non-x86.

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

13 years agoH.264: Partially inline CABAC residual decoding
Jason Garrett-Glaser [Sat, 15 Jan 2011 17:52:48 +0000 (17:52 +0000)]
H.264: Partially inline CABAC residual decoding
Improves CABAC performance about ~1.2%.

Trick originates from x264 and has also been used in ffvp8.  It's useful because
coded block flags are usually zero, so it helps to have the early termination
inlined into the main function.

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

13 years agoRename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
Stefano Sabatini [Sat, 15 Jan 2011 17:31:34 +0000 (17:31 +0000)]
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.

More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.

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

13 years agoMake avfilter_unref_buffer() accept a NULL parameter.
Stefano Sabatini [Sat, 15 Jan 2011 17:21:15 +0000 (17:21 +0000)]
Make avfilter_unref_buffer() accept a NULL parameter.

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

13 years agoReindent after the last commit.
Stefano Sabatini [Sat, 15 Jan 2011 17:21:12 +0000 (17:21 +0000)]
Reindent after the last commit.

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

13 years agoIn ffplay, do not open display if -nodisp is set.
Stefano Sabatini [Sat, 15 Jan 2011 17:21:09 +0000 (17:21 +0000)]
In ffplay, do not open display if -nodisp is set.

Fixes issue 1017.

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

13 years agoParse fact chunks from wav files to find duration.
Michael Niedermayer [Sat, 15 Jan 2011 17:13:32 +0000 (17:13 +0000)]
Parse fact chunks from wav files to find duration.

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

13 years agoFactor tag reading code out of wav read_header()
Michael Niedermayer [Sat, 15 Jan 2011 17:13:30 +0000 (17:13 +0000)]
Factor tag reading code out of wav read_header()

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

13 years agoSecond hunk from secrity fix from google.
Frank Barchard [Sat, 15 Jan 2011 17:10:49 +0000 (17:10 +0000)]
Second hunk from secrity fix from google.
The hunk is not fully understood but it just makes a check tighter so its
safer for us to apply until it is fully understood.

Might fix issue 2550 (and Chrome issue 68115 and unknown CERT issues).
Our bugtracker issue though should stay open until this has been fully
investiagted

Patch by Frank Barchard, fbarchard at google

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

13 years agodo not read over the end of the packet
Sascha Sommer [Sat, 15 Jan 2011 16:39:52 +0000 (16:39 +0000)]
do not read over the end of the packet
fixes issue 2543

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

13 years agoSet duration for wav files from sample size and data size or the wf64 sample value.
Michael Niedermayer [Sat, 15 Jan 2011 16:26:42 +0000 (16:26 +0000)]
Set duration for wav files from sample size and data size or the wf64 sample value.
This should improve duration accuracy slightly and avoids a warning about its
inaccuracy when accurate values are available. Idea by Frank Barchard

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

13 years agoCheck rangebits to avoid a possible crash.
Frank Barchard [Sat, 15 Jan 2011 16:19:06 +0000 (16:19 +0000)]
Check rangebits to avoid a possible crash.
Fixes issue 2548 (and Chrome issue 68115 and unknown CERT issues).

Patch by Frank Barchard, fbarchard at google

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

13 years agoChange some band size calculations in Bink decoder to use width in blocks
Kostya Shishkov [Sat, 15 Jan 2011 13:29:14 +0000 (13:29 +0000)]
Change some band size calculations in Bink decoder to use width in blocks
instead of real width, this fixes decoding of some Bink files with odd width.

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

13 years agoLagarith: fix decoding of one-coloured frames by reading the per-plane
Reimar Döffinger [Sat, 15 Jan 2011 12:44:48 +0000 (12:44 +0000)]
Lagarith: fix decoding of one-coloured frames by reading the per-plane
color value instead of always taking 0 (resulting in green frames).
Fixes issue issue2531.

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

13 years agoAdd docs and Changelog entry for the -copytb option added in r26340.
Stefano Sabatini [Sat, 15 Jan 2011 11:13:07 +0000 (11:13 +0000)]
Add docs and Changelog entry for the -copytb option added in r26340.

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

13 years agoAdd APIchanges entry for the av_metadata_copy() addition.
Stefano Sabatini [Sat, 15 Jan 2011 11:13:04 +0000 (11:13 +0000)]
Add APIchanges entry for the av_metadata_copy() addition.

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