ffmpeg.git
8 years agoffv1enc: support PIX_FMT_YUV420P10 & PIX_FMT_YUV422P10
Michael Niedermayer [Sun, 8 May 2011 16:51:55 +0000 (18:51 +0200)]
ffv1enc: support PIX_FMT_YUV420P10 & PIX_FMT_YUV422P10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agov210enc:clip values according to specifications
Baptiste Coudurier [Sun, 8 May 2011 15:58:20 +0000 (17:58 +0200)]
v210enc:clip values according to specifications
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agov210enc: switch to PIX_FMT_422P10
Baptiste Coudurier [Sun, 8 May 2011 15:57:54 +0000 (17:57 +0200)]
v210enc: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agov210dec: switch to PIX_FMT_422P10
Baptiste Coudurier [Sun, 8 May 2011 15:54:20 +0000 (17:54 +0200)]
v210dec: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffv1: set internal frame defaults
Stefano Sabatini [Sun, 8 May 2011 17:26:22 +0000 (19:26 +0200)]
ffv1: set internal frame defaults

Another fix missed before the vsrc_buffer changes.

8 years agoswscale: 9,10 bits pixel format output support
Baptiste Coudurier [Sun, 8 May 2011 12:20:57 +0000 (14:20 +0200)]
swscale: 9,10 bits pixel format output support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoPIX_FMT_422P10 support
Baptiste Coudurier [Sun, 8 May 2011 12:06:04 +0000 (14:06 +0200)]
PIX_FMT_422P10 support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoadpcmenc:Optimize adpcm_ima_qt_compress_sample()
Michael Niedermayer [Sun, 8 May 2011 11:20:22 +0000 (13:20 +0200)]
adpcmenc:Optimize adpcm_ima_qt_compress_sample()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoadpcmenc: fix QT IMA ADPCM encoder
Baptiste Coudurier [Sun, 8 May 2011 11:15:48 +0000 (13:15 +0200)]
adpcmenc: fix QT IMA ADPCM encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoadpcmdec: Fix QT IMA ADPCM decoder
Baptiste Coudurier [Sun, 8 May 2011 11:13:17 +0000 (13:13 +0200)]
adpcmdec: Fix QT IMA ADPCM decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Sun, 8 May 2011 01:29:51 +0000 (03:29 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  drawtext: add documentation for the shadow parameters
  drawtext: add shadow support.
  drawtext: factor draw_glyphs.
  drawtext: fix and optimize yuv blend.
  drawtext: get rid of divisions in the inner loop.
  drawtext: simplify chroma blend and fix chroma alpha.
  lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo

Conflicts:
configure
libavfilter/avfilter.h
libavfilter/vf_drawtext.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosvq1dec: simpify mean calculation.
Michael Niedermayer [Sat, 7 May 2011 23:26:43 +0000 (01:26 +0200)]
svq1dec: simpify mean calculation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosvq1dec: replace /2 by >>1
Michael Niedermayer [Sat, 7 May 2011 23:26:07 +0000 (01:26 +0200)]
svq1dec: replace /2 by >>1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopnm: Fix spurious error message.
Michael Niedermayer [Sat, 7 May 2011 23:24:37 +0000 (01:24 +0200)]
pnm: Fix spurious error message.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibopenjpeg: set internal frame defaults
Stefano Sabatini [Sat, 7 May 2011 19:32:52 +0000 (21:32 +0200)]
libopenjpeg: set internal frame defaults

Fix ffmpeg decoding, which was broken after the recent changes in
vsrc_buffer.

8 years agoFix function pointer type to match function it is assigned.
Reimar Döffinger [Sat, 7 May 2011 18:11:49 +0000 (20:11 +0200)]
Fix function pointer type to match function it is assigned.

8 years agoStore pointers in a less messy way in SWSContext.
Reimar Döffinger [Sat, 7 May 2011 18:06:33 +0000 (20:06 +0200)]
Store pointers in a less messy way in SWSContext.

8 years agoRemove unused variable.
Reimar Döffinger [Sat, 7 May 2011 17:48:00 +0000 (19:48 +0200)]
Remove unused variable.

8 years agoReplace deprecated url_fseek by avio_seek.
Reimar Döffinger [Sat, 7 May 2011 17:42:36 +0000 (19:42 +0200)]
Replace deprecated url_fseek by avio_seek.

8 years agoMove ifdef to avoid unused variable warnings.
Reimar Döffinger [Sat, 7 May 2011 17:39:11 +0000 (19:39 +0200)]
Move ifdef to avoid unused variable warnings.

8 years agoRemove unused variables.
Reimar Döffinger [Sat, 7 May 2011 17:33:21 +0000 (19:33 +0200)]
Remove unused variables.

8 years agoFix printf format string, fixes a warning.
Reimar Döffinger [Sat, 7 May 2011 17:28:45 +0000 (19:28 +0200)]
Fix printf format string, fixes a warning.

8 years agoriffenc/ffmpeg: Fix stream copy
Michael Niedermayer [Sat, 7 May 2011 17:44:21 +0000 (19:44 +0200)]
riffenc/ffmpeg: Fix stream copy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffplay: fix null pointer read when codec unavilable.
Michael Niedermayer [Sat, 7 May 2011 14:54:06 +0000 (16:54 +0200)]
ffplay: fix null pointer read when codec unavilable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaacdec: add decode_channel_map overread check
Reimar Döffinger [Sat, 7 May 2011 15:49:42 +0000 (17:49 +0200)]
aacdec: add decode_channel_map overread check

All decode_channel_map calls together can easily read
more data than the amount of padding available.
Thus below patch adds an input length check before reading them.
Fixes some invalid reads with sample from
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1138

8 years agoIncrease TS packet size detection buffer.
Reimar Döffinger [Sun, 24 Apr 2011 15:34:39 +0000 (17:34 +0200)]
Increase TS packet size detection buffer.

Fixes warning message with ticket #68.

8 years agoAssume some TS packet size instead of failing completely.
Reimar Döffinger [Sun, 24 Apr 2011 15:33:48 +0000 (17:33 +0200)]
Assume some TS packet size instead of failing completely.

Fixes ticket #68.

8 years agooggdec:Correct duration
jan gerber [Sat, 7 May 2011 13:31:04 +0000 (15:31 +0200)]
oggdec:Correct duration
Based on a patch by Reimar Döffinger.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoOnly add 1 byte to av_malloc(0) when it actually returned NULL
Michael Niedermayer [Sat, 7 May 2011 13:28:39 +0000 (15:28 +0200)]
Only add 1 byte to av_malloc(0) when it actually returned NULL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMake av_realloc(0) behave like our av_malloc(0)
Michael Niedermayer [Sat, 7 May 2011 13:28:07 +0000 (15:28 +0200)]
Make av_realloc(0) behave like our av_malloc(0)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_buffer: during init, print information about timebase and sample aspect ratio
Stefano Sabatini [Sat, 7 May 2011 10:44:18 +0000 (12:44 +0200)]
vsrc_buffer: during init, print information about timebase and sample aspect ratio

8 years agovsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface
Stefano Sabatini [Mon, 2 May 2011 07:52:11 +0000 (09:52 +0200)]
vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface

Now that pix_fmt, width, and height are directly embedded in the AVFrame,
there is no need to pass these values as separate arguments.

8 years agolavc: set defaults in internal codec frames
Stefano Sabatini [Mon, 2 May 2011 00:15:15 +0000 (02:15 +0200)]
lavc: set defaults in internal codec frames

This is required specifically for setting frame->format to -1,
otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading
the format from the output decoded frame will get misled.

In particular fix regressions occurring with the pending vsrc_buffer
patch.

8 years agoffmpeg: rename ost->pict_tmp to ost->resample_frame
Stefano Sabatini [Fri, 6 May 2011 09:30:27 +0000 (11:30 +0200)]
ffmpeg: rename ost->pict_tmp to ost->resample_frame

The new name is more consistent with the employed naming scheme, and
more meaningful.

8 years agoffmpeg: prefer dec/enc over ost/ist->st->codec in do_video_out()
Stefano Sabatini [Fri, 6 May 2011 09:14:15 +0000 (11:14 +0200)]
ffmpeg: prefer dec/enc over ost/ist->st->codec in do_video_out()

Compact code, improve readability.

8 years agoffmpeg: move resample_changed check within the #if !CONFIG_AVFILTER
Stefano Sabatini [Fri, 6 May 2011 09:10:02 +0000 (11:10 +0200)]
ffmpeg: move resample_changed check within the #if !CONFIG_AVFILTER

The check and the corresponding message in do_video_out() are
unnecessary in the libavfilter path, as a similar check and message
are performed within the buffer source.

8 years agoffmpeg: remove useless intermediary variable resample_dst in do_video_out()
Stefano Sabatini [Fri, 6 May 2011 09:06:58 +0000 (11:06 +0200)]
ffmpeg: remove useless intermediary variable resample_dst in do_video_out()

8 years agoffmpeg: simplify mid-stream reconfiguration when libavfilter is disabled
Stefano Sabatini [Mon, 2 May 2011 07:35:38 +0000 (09:35 +0200)]
ffmpeg: simplify mid-stream reconfiguration when libavfilter is disabled

Implement lazy initialization of the image resample context, so that
the initialization code does not need to be duplicated.

Also manage the case in which resample/size change mid-stream. For
each packet the code computes if resampling is needed.

Previously the resample check was done only at the initialization, in
case size/format changed and no resample was detected at the init
stage ffmpeg was silently exiting.

8 years agolavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()
Stefano Sabatini [Sun, 1 May 2011 12:47:05 +0000 (14:47 +0200)]
lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()

avfilter_copy_frame_props() avoids code duplication and increases
robustness.

The added files libavfilter/avcodec.[ch] are used for containing
utilities useful for gluing togheter libavfilter and libavcodec.

8 years agolavc: add format field to AVFrame
Stefano Sabatini [Sun, 1 May 2011 12:10:20 +0000 (14:10 +0200)]
lavc: add format field to AVFrame

The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.

8 years agolavc: add width and height fields to AVFrame
Stefano Sabatini [Sun, 1 May 2011 12:02:08 +0000 (14:02 +0200)]
lavc: add width and height fields to AVFrame

width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.

8 years agoUse MAP_FAILED to check for mmap failure instead of manually
Reimar Döffinger [Sat, 7 May 2011 08:00:03 +0000 (10:00 +0200)]
Use MAP_FAILED to check for mmap failure instead of manually
recreating the value.

8 years agodrawtext: add documentation for the shadow parameters
Stefano Sabatini [Sat, 2 Apr 2011 09:27:09 +0000 (11:27 +0200)]
drawtext: add documentation for the shadow parameters

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: add shadow support.
Michael Niedermayer [Tue, 22 Feb 2011 00:41:52 +0000 (01:41 +0100)]
drawtext: add shadow support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: factor draw_glyphs.
Michael Niedermayer [Tue, 22 Feb 2011 00:11:35 +0000 (01:11 +0100)]
drawtext: factor draw_glyphs.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: fix and optimize yuv blend.
Michael Niedermayer [Mon, 21 Feb 2011 23:54:48 +0000 (00:54 +0100)]
drawtext: fix and optimize yuv blend.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: get rid of divisions in the inner loop.
Michael Niedermayer [Mon, 21 Feb 2011 23:43:19 +0000 (00:43 +0100)]
drawtext: get rid of divisions in the inner loop.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodrawtext: simplify chroma blend and fix chroma alpha.
Michael Niedermayer [Mon, 21 Feb 2011 23:23:31 +0000 (00:23 +0100)]
drawtext: simplify chroma blend and fix chroma alpha.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
Stefano Sabatini [Mon, 21 Feb 2011 00:02:29 +0000 (01:02 +0100)]
lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo

With the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats
* fix minor errors and typos in the filter description
* extend/clarify examples in the filter description

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoUse av_fast_malloc instead of av_fast_realloc.
Reimar Döffinger [Sat, 7 May 2011 07:58:38 +0000 (09:58 +0200)]
Use av_fast_malloc instead of av_fast_realloc.

Avoids a memleak, is less code and might be faster.

8 years agoSimplify condition.
Reimar Döffinger [Sat, 7 May 2011 07:47:35 +0000 (09:47 +0200)]
Simplify condition.

8 years agomsvideo1enc: minor cosmetic cleanup, use FFALIGN, avoid calculating value
Reimar Döffinger [Wed, 4 May 2011 19:30:56 +0000 (21:30 +0200)]
msvideo1enc: minor cosmetic cleanup, use FFALIGN, avoid calculating value
twice and add a missing "const".

8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Sat, 7 May 2011 02:14:09 +0000 (04:14 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  mov: fix composition timestamps on movie fragments.
  wmavoice: Use proper size in memeset().

8 years agomp3enc:simplify
Michael Niedermayer [Tue, 26 Apr 2011 01:50:56 +0000 (03:50 +0200)]
mp3enc:simplify
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc:better variable name for the frames field file postion.
Michael Niedermayer [Tue, 26 Apr 2011 01:49:53 +0000 (03:49 +0200)]
mp3enc:better variable name for the frames field file postion.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc: drop nested structs
Michael Niedermayer [Tue, 26 Apr 2011 01:45:48 +0000 (03:45 +0200)]
mp3enc: drop nested structs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc:use FFMIN()
Michael Niedermayer [Tue, 26 Apr 2011 01:31:02 +0000 (03:31 +0200)]
mp3enc:use FFMIN()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc:Drop unneeded floating point math.
Michael Niedermayer [Tue, 26 Apr 2011 01:24:28 +0000 (03:24 +0200)]
mp3enc:Drop unneeded floating point math.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc: drop sum and count bytes instead of bitrates from decoded headers.
Michael Niedermayer [Tue, 26 Apr 2011 01:22:21 +0000 (03:22 +0200)]
mp3enc: drop sum and count bytes instead of bitrates from decoded headers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc: remove unneeded ifdef
Michael Niedermayer [Tue, 26 Apr 2011 01:06:51 +0000 (03:06 +0200)]
mp3enc: remove unneeded ifdef
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc: remove unneeded static const variables.
Michael Niedermayer [Tue, 26 Apr 2011 01:06:04 +0000 (03:06 +0200)]
mp3enc: remove unneeded static const variables.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomp3enc: mux a XING header
Peter Belkner [Sat, 7 May 2011 00:23:28 +0000 (02:23 +0200)]
mp3enc: mux a XING header

The patch below provides exactly that to the MP3 muxer. A XING header
containing

   * the numer of frames,
   * the size, and
   * a TOC

is generated.

It's based on an idea by Anton Khirnov (restricted to the number of
frames) found at

   http://patches.ffmpeg.org/patch/1891/

The TOC is generated as found in lame's "VbrTag.c".

According to my tests the following reproduces the number of frames, the
size and the TOC in "c.mp3" from "b.mp3" (except a shift due to shorter
XING header generated by FFmpeg):

   lame -V2 a.wav b.mp3
   ffmpeg -i b.mp3 -acodec copy -y c.mp3

8 years agoavfilter: dont use AVFilterLink as priv for pictures as its freed too early.
Michael Niedermayer [Fri, 6 May 2011 23:02:38 +0000 (01:02 +0200)]
avfilter: dont use AVFilterLink as priv for pictures as its freed too early.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavfilter: Fix ticket82 / fix initial buffer values.
Michael Niedermayer [Fri, 6 May 2011 22:01:33 +0000 (00:01 +0200)]
avfilter: Fix ticket82 / fix initial buffer values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAVFilter: use picture pool to avoid malloc().
Michael Niedermayer [Fri, 6 May 2011 21:53:06 +0000 (23:53 +0200)]
AVFilter: use picture pool to avoid malloc().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavfilter_unref_buffer: favor av_freep()
Michael Niedermayer [Fri, 6 May 2011 21:37:43 +0000 (23:37 +0200)]
avfilter_unref_buffer: favor av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegvideo: fix 422 lowres
Michael Niedermayer [Fri, 6 May 2011 17:30:14 +0000 (19:30 +0200)]
mpegvideo: fix 422 lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaiffdec:Rewrite get_meta()
Michael Niedermayer [Fri, 6 May 2011 15:39:31 +0000 (17:39 +0200)]
aiffdec:Rewrite get_meta()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAllow encodiing empty subtitles.
JULIAN GARDNER [Fri, 6 May 2011 15:09:22 +0000 (17:09 +0200)]
Allow encodiing empty subtitles.

8 years agoswscale: Dither for unscaled 10->8bit per channel
Michael Niedermayer [Fri, 6 May 2011 13:19:27 +0000 (15:19 +0200)]
swscale: Dither for unscaled 10->8bit per channel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswscale: dont reshuffle bytes
Michael Niedermayer [Fri, 6 May 2011 11:18:55 +0000 (13:18 +0200)]
swscale: dont reshuffle bytes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomov: fix composition timestamps on movie fragments.
Yusuke Nakamura [Fri, 29 Apr 2011 14:39:29 +0000 (23:39 +0900)]
mov: fix composition timestamps on movie fragments.

This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.

8 years agowmavoice: Use proper size in memeset().
Alex Converse [Thu, 5 May 2011 18:10:19 +0000 (11:10 -0700)]
wmavoice: Use proper size in memeset().

sizeof(array_functrion_argument) gives the size of the pointer type not
the size of the array to which it points.

8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Fri, 6 May 2011 02:28:12 +0000 (04:28 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  configure: warn if pkg-config is missing

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavidec: correct frame_offset for seeking
Michael Niedermayer [Fri, 6 May 2011 01:52:16 +0000 (03:52 +0200)]
avidec: correct frame_offset for seeking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSilence a warning if pkg_config is not installed.
Carl Eugen Hoyos [Fri, 6 May 2011 01:27:53 +0000 (03:27 +0200)]
Silence a warning if pkg_config is not installed.

8 years agoMakefile:Put lost tab back.
Michael Niedermayer [Fri, 6 May 2011 00:19:25 +0000 (02:19 +0200)]
Makefile:Put lost tab back.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavidec: detect mpeg4 keyframes in indexless avi
Michael Niedermayer [Thu, 5 May 2011 21:54:31 +0000 (23:54 +0200)]
avidec: detect mpeg4 keyframes in indexless avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoIn svq3 decoder, check negative mb_type, fix potential crash.
Baptiste Coudurier [Thu, 5 May 2011 01:45:36 +0000 (18:45 -0700)]
In svq3 decoder, check negative mb_type, fix potential crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: mention fate documentation in the error message
Francesco Cosoleto [Tue, 3 May 2011 12:25:43 +0000 (14:25 +0200)]
fate: mention fate documentation in the error message

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMPEG: support 4:4:4 lowres
Michael Niedermayer [Thu, 5 May 2011 19:27:57 +0000 (21:27 +0200)]
MPEG: support 4:4:4 lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMPEG: support 4:4:4 intra lowres
Michael Niedermayer [Thu, 5 May 2011 19:27:09 +0000 (21:27 +0200)]
MPEG: support 4:4:4 intra lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoconfigure: warn if pkg-config is missing
Mans Rullgard [Thu, 5 May 2011 15:45:12 +0000 (16:45 +0100)]
configure: warn if pkg-config is missing

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavfi-regression: provide filter arguments to showfiltfmts
Stefano Sabatini [Tue, 3 May 2011 22:47:53 +0000 (00:47 +0200)]
lavfi-regression: provide filter arguments to showfiltfmts

In do_lavfi_pixfmts(), provide the filter arguments to showfiltfmts,
since some filter may require non-null or non-empty argument string
for working properly.

8 years agoeval: add sqrt function for computing the square root
Stefano Sabatini [Tue, 3 May 2011 21:31:14 +0000 (23:31 +0200)]
eval: add sqrt function for computing the square root

8 years agoconfigure: add strong dependencies for movie source and mp filter
Stefano Sabatini [Wed, 4 May 2011 23:05:07 +0000 (01:05 +0200)]
configure: add strong dependencies for movie source and mp filter

8 years agoSVQ3: do not modify const input buffer
Baptiste Coudurier [Thu, 5 May 2011 13:17:51 +0000 (15:17 +0200)]
SVQ3: do not modify const input buffer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSVQ3: Check that things match up after a frame.
Baptiste Coudurier [Thu, 5 May 2011 12:40:26 +0000 (14:40 +0200)]
SVQ3: Check that things match up after a frame.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSVQ3: Move svq3 specific fields to their own context.
Baptiste Coudurier [Thu, 5 May 2011 12:18:33 +0000 (14:18 +0200)]
SVQ3: Move svq3 specific fields to their own context.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffplay: set CODEC_FLAG_EMU_EDGE earlier
Michael Niedermayer [Thu, 5 May 2011 13:35:54 +0000 (15:35 +0200)]
ffplay: set CODEC_FLAG_EMU_EDGE earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Thu, 5 May 2011 01:09:48 +0000 (03:09 +0200)]
Merge remote branch 'qatar/master'

* qatar/master: (23 commits)
  doc: Check standalone compilation before submitting new components.
  Fix standalone compilation of pipe protocol.
  Fix standalone compilation of ac3_fixed encoder.
  Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
  Fix standalone compilation of IMC decoder.
  Fix standalone compilation of WTV demuxer.
  Fix standalone compilation of MXPEG decoder.
  flashsv: K&R cosmetics
  matroskaenc: fix memory leak
  vc1: make overlap filter for I-frames bit-exact.
  vc1dec: use s->start/end_mb_y instead of passing them as function args.
  Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
  Replace strncpy() with av_strlcpy().
  indeo3: Eliminate use of long.
  get_bits: make cache unsigned to eliminate undefined signed overflow.
  asfdec: fix assert failure on invalid files
  avfilter: check malloc return values.
Not pulled as reason for reindent is not pulled:  mpegvideo: reindent.
  nutenc: check malloc return values.
Not pulled due to much simpler solution in ffmpeg  *: don't av_malloc(0).
  ...

Conflicts:
doc/developer.texi
libavcodec/Makefile
libavcodec/get_bits.h
libavcodec/mpegvideo.c
libavformat/Makefile
libavutil/log.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agorgb24toyv12: break out in the middle before out of array reads.
Michael Niedermayer [Thu, 5 May 2011 00:20:20 +0000 (02:20 +0200)]
rgb24toyv12: break out in the middle before out of array reads.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffplay: fix memleak if avfilter is disabled
alexandru_mg3 [Wed, 4 May 2011 23:42:53 +0000 (01:42 +0200)]
ffplay: fix memleak if avfilter is disabled

8 years agofile: Fix mmap error check.
Michael Niedermayer [Wed, 4 May 2011 22:52:03 +0000 (00:52 +0200)]
file: Fix mmap error check.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoconfigure: jack currently needs sem_timedwait()
Michael Niedermayer [Wed, 4 May 2011 21:30:14 +0000 (23:30 +0200)]
configure: jack currently needs sem_timedwait()
Should fix ticket99 and ticket43 by disabling jack.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffplay: removed unused variable channels.
Michael Niedermayer [Wed, 4 May 2011 20:14:22 +0000 (22:14 +0200)]
ffplay: removed unused variable channels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDisable warnings for casting pointers to integers, there is nothing wrong with that.
Michael Niedermayer [Wed, 4 May 2011 20:06:41 +0000 (22:06 +0200)]
Disable warnings for casting pointers to integers, there is nothing wrong with that.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswscale: fix src type
Michael Niedermayer [Wed, 4 May 2011 19:57:08 +0000 (21:57 +0200)]
swscale: fix src type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix "libavcodec/dfa.c:189: warning: unused variable ‘frame_end’"
Michael Niedermayer [Wed, 4 May 2011 19:42:08 +0000 (21:42 +0200)]
Fix "libavcodec/dfa.c:189: warning: unused variable ‘frame_end’"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodvbsubdec: Split delete_state()
JULIAN GARDNER [Wed, 4 May 2011 18:44:14 +0000 (20:44 +0200)]
dvbsubdec: Split delete_state()