vsrc_buffer: Set output sizeSigned-off-by: Michael Niedermayer <michaelni@gmx.at>
vsrc_buffer: fix NULL dereferenceSigned-off-by: Michael Niedermayer <michaelni@gmx.at>
bfi: store palette data in the context
Store palette data in the codec context, do not assume that the frameallocated the first time by avctx->get_buffer will be returned again.
This requires to store the palette which comes with the first frame inthe context, and copy it to the following frames....
Merge remote branch 'qatar/master'
Fix issue1503, this fix may be incomplete we need more samples to know for sure.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
wmadec: prevent null pointer call.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fraps: do not set avctx->pix_fmt to none in decode_init()
This is required for setting up the filterchain, as it requires thepixel format to be set, which is usually done when probing the filewith av_find_stream_info().
Fix trac issue #83.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
graphparser: add a NULL check on the argument passed to strstr
Fix crash in create_filter() which occurrs if a scale filter with noargs is provided.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
setdar: prefer "sar" over "par" in log info message
This is more consistent with the terminology adopted by the aspectfilter names.
fade: fix draw_slice() check on fade->factor value
draw_slice() checks that the fade factor is < 65536 and onlycalculates the fade if so. But the fade factor is clipped inend_frame() by av_clip_uint16() to 65535, so the fade is calculatedfor every frame. This patch alters the check so that it compares with...
fade: make draw_slice() chroma check against planes 1 and 2
draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's dataare not NULL before manipulating planes 1 and 2. This patch makes thecheck against planes 1 and 2. More senseful and possibly more robust....
lsws: prevent overflow in sws_init_context()
In the loop: for (i=0; i<dstH; i++) { int chrI= i*c->chrDstH / dstH;
when i*c->chrDstH > INT_MAX this leads to an integer overflow, whichresults in a negative value for chrI and in out-of-buffer reads. The...
ffplay: fix logic for selecting the show mode in case of missing video
Also automatically select the show mode only if not specified by theuser.
Fix trac issue #109.
ffplay: name ShowMode enum
Help debugging with GDB, maybe cleaner/safer.
win32: include the correct header in cmdutils.c
CommandLineToArgvW requires windows.h, include it directly
ac3: fix memleak in fixed-point encoder
caused by typo in mdct_end
Patch from Packman (OpenSuse - packages) to silence rpmlint.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Set start_time to 0 for raw audio files.
None of the raw audio files have timestamps, thus settingstart_time to 0 should be reasonable.
Remove now unused audio_float configure option.
dca: allow selecting float output at runtime.
vorbisdec: allow selecting float output at runtime.
aacdec: Allow selecting float output at runtime.
ac3dec: allow selecting float output at runtime.
flashsv: Return more meaningful error values.
flashsv: Employ explicit AVCodec struct initializers.
Do not set non_interleaved for DV-in-AVI.
It does not make sense (DV is interleaved by design) andit avoids a crash when the non-interleaved code tries touse the priv_data of streams created by the DV demuxer.The crash could be avoided differently, but then that stream...
Warn if the source has unsupported (or no) channel layout.
read AVI palette from the end of extradata
Official AVI specification says that stream header in case of video containsBITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currentlylavf AVI demuxer thinks otherwise which produces garbage on codecs that have...
Set channel layout for 4 and 5.1 channel cdata audio files
Patch from Carl Eugen Hoyos (cehoyos at ag dot or dot at)
Signed-off-by: Peter Ross <pross@xvid.org>
Check mmap() return against correct valueSigned-off-by: Michael Niedermayer <michaelni@gmx.at>
cosmetics: K&R coding style and more whitespace for Flash Screen Video
vorbisdec: Employ proper printf format specifiers for uint_fast32_t.
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
Support fourcc MMJP.
Fixes ticket #107.
Support fourcc XVIX.
Fixes ticket #106.
Support fourcc M263.
Fixes ticket #103.
Support fourcc auv2.
Fixes ticket #101.
Fix indentation.
Support PARSER_FLAG_COMPLETE_FRAMES for h261 and h263 parsers.
ffplay: avoid SIGFPE exception in SDL_DisplayYUVOverlay
In video_image_display(), fix exception occurring when the size of therectangle passed to SDL_DisplayYUVOverlay() is 0x0, which happens wheninteractively resizing the SDL window.This is done by forcing the minimum size to 1x1....
avi: try to synchronize the points in time of the starts of streams after seeking.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Add flag to force demuxers to sort more strictly by dts.This enables non interleaved AVI mode for example.Players that are picky on strict interleaving can set this.Patches to only switch to non intereaved AVI mode when the index is not strictlycorrectly interleaved are welcome....
applehttp: Don't export variant_bitrate if it isn't known
If there are no variants, the total bitrate of the singlestream isn't known, and exporting variant_bitrate = 0 doeslook weird, since there really aren't any variants.
Signed-off-by: Martin Storsjö <martin@martin.st>
crypto: Use av_freep instead of av_free
Using av_freep is generally good practice.
CrystalHD: Add AVOption to configure hardware downscaling.
The CrystalHD hardware can do scaling, which is particularlydesirable when dealing with some high resolution clips that takeso long to decode and copy out that they end up playing backslower than realtime. By using scaling, we can make the output...
Check for malloc failures in fraps decoder.
Use av_fast_malloc instead of av_realloc in fraps decoder.
general.texi: document libcelt decoder.
Fix some passing argument from incompatible pointer type warnings.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure: Add missing libm library dependencies to .pc files.
This unbreaks static compilation using pkg-config on systems in need of -lm.Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
oggdec: reindent after 8f3eebd6
configure: Add missing libavutil inter-library dependencies to .pc files.
This unbreaks static compilation when using pkg-config.Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org>
Drop section describung now unneeded workarounds for BSDSigned-off-by: Michael Niedermayer <michaelni@gmx.at>
Fix building on FreeBSD8.2Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
HAM6/HAM8 support for IFF demuxer/decoder
EA cdata demuxer: support files with 20 byte header
EA cdata demuxer: support 6 channel files
EA cdata demuxer: set codec->sample_fmt
This is required by has_codec_parameters in libavformat/utils.c
permit decoding of multichannel ADPCM_EA_XAS
Handle unicode file names on windows
All file names should be in UTF-8 within libavformat.
This is handled by mapping the open() function to an internal onein os_support.h for windows.
fopen() could be overridden in the same way, but if that would beused from ffmpeg.c, it would add a dependency on an ff prefixed...
rtp: Rename the open/close functions to alloc/free
This avoids clashes if we internally want to override the globalopen function.
In libx264 wrapper, fix side effect with has_b_frames, bframe_pyramid can be setwhen bframe is not.
Lowercase all ff* program names.
Refer to ff* tools by their lowercase names.
Replace more FFmpeg instances by Libav or ffmpeg.
Replace `` by $() syntax in shell scripts.
$() is easier to nest and POSIX, which we require in other places.
patcheck: Allow overiding grep program(s) through environment variables.
patcheck hardcodes the binary names for grep/egrep. This makes overriding thebinary names a pain, e.g. when calling a GNU version of grep on BSD systems.
Remove stray libavcore and _g binary references.
vorbis: Rename decoder/encoder files to follow general file naming scheme.
aacenc: Fix whitespace after last commit.
Set channel layout in flac decoder.
ffplay: factorize code calling output_packet() in video_thread()
Slightly simplify.
ffplay: remove reference to unused QETimer symbol
ffplay: rename stream_pause() to stream_toggle_pause()
The new name is less misleading, since the function will resume thestream if it is currently paused.
flicvideo: fix crash on flic files with invalid frame size
Add a check in flic_decode_frame_8BPP(), in case chunk_size is >frame_size issue a warning and resize chunk_size to frame_size, inorder to avoid out-of-buffer reads.
Fix roundup issue #2520, trac issue #69....
flicvideo: increase error level and fix error message in CHECK_PIXEL_PTR()
Also return AVERROR_INVALIDDATA rather than -1.
cook: Fix small typo in av_log_ask_for_sample message.
aacenc: Finish 3GPP psymodel analysis for non mid/side cases.
There is still are still a few sections missing relating to TNS (not present)and mid/side (contains other bugs).
Overall this improves quality, and vastly improves rate-control.
aac: add math.h needed for log2f()Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10l: Add misssing CR/LF.
Support channel layout when demuxing aif files.
Support channel layout when demuxing caf files.
Extend unknown CAF chunk warning message: Print size.
Fix compilation with libcelt on Apple OS X.
Fixes ticket #97.
Fix compilation after version bump.
Remove RDFT dependency from AAC decoder.
$subj
From 557176d961c70604c2a96d81aff4bd6faa670d8a Mon Sep 17 00:00:00 2001
From: Alex Converse <aconverse@google.com>Date: Thu, 21 Apr 2011 12:11:42 -0700Subject: [PATCH] Remove RDFT dependency from AAC decoder....
Add some debug log messages to AAC extradata
On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles<justin.ruggles@gmail.com> wrote:
On 04/20/2011 02:26 PM, Alex Converse wrote: --- libavcodec/aacdec.c | 10 +++++++- 1 files changed, 9 insertions(+), 1 deletions(-)...
On 04/20/2011 02:26 PM, Alex Converse wrote:
--- libavcodec/aacdec.c | 10 +++++++- 1 files changed, 9 insertions(+), 1 deletions(-)...
Fix mov debug (u)int64_t format strings.
bswap: use native types for av_bwap16().
This prevents a call to bytestream_get_be16() using a movzwl both beforeand after the ror instruction, which is obviously inefficient. Arm usesthe same trick also.
Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec....
doc: FLV muxing is supported.
applehttp: Handle AES-128 encrypted streams
This should hopefully fix roundup issue 2586.
This commit only implements it in the demuxer, not in theprotocol handler. If desired, some of the code could berefactored to be shared by both implementations....
Add a protocol handler for AES CBC decryption with PKCS7 padding
This can later be extended to support other AES bit sizes,encryption, other crypto algorithms, reading the key from a URL, etc.
In order to use it, the key and initialization vector has to be...
doc: Mention that DragonFly BSD requires __BSD_VISIBLE set
Setting this should fix the FATE build failure on DragonFly BSD,since inet_aton only is visible if __BSD_VISIBLE is set.
Alternatively, a line defining __BSD_VISIBLE=1 could beadded at the top of os_support.c. For FreeBSD, similar lines...
Use av_log_ask_for_sample() to request samples from users.
Make av_log_ask_for_sample() accept a variable number of arguments.
Rm duplicated define for OPT_STR.
vqavideo: We no longer need to ask for version 1 samples.
FLV muxing is supported.