Do not throw compiler error if asm code needs alignment, but we do not knowhow to do it for this compiler. This removes a dependency of config.h on theDECLARE_* macros.
Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after last commit
Originally committed as revision 19382 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prevent AAC frame size overflows.
Originally committed as revision 19381 to svn://svn.ffmpeg.org/ffmpeg/trunk
Refactor windowing and early psy from bitstream writing parts of the AAC encoder.
Originally committed as revision 19380 to svn://svn.ffmpeg.org/ffmpeg/trunk
Turn on AAC rate control.
Originally committed as revision 19379 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: Remove unnecessary {} around if/for blocks;move statements after if/for to the next line.
Originally committed as revision 19378 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: prettyprinting, K&R style, break overly long lines
Originally committed as revision 19377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: Pretty print the AAC encoder.
Originally committed as revision 19376 to svn://svn.ffmpeg.org/ffmpeg/trunk
Merge the AAC encoder from SoC svn. It is still considered experimental.
Originally committed as revision 19375 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add extra validation checks to ff_vorbis_len2vlc.They should not be necessary, but it seems like a reasonable precaution.
Originally committed as revision 19374 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make sure that values generated for ff_vorbis_len2vlc invorbis_parse_setup_hdr_codebooks are in the valid range (<=32).
Originally committed as revision 19373 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add PIX_FMT_ARGB encoding to qtrle.
Patch by Alexis Ballier, alexis ballier gmail
Originally committed as revision 19372 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add block_align to sox input.Patch by Phil Rutschman: name.surname modsystems com
Originally committed as revision 19371 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix mem leak when user preallocates an AVFormatContext, passes it toav_open_input_file(), but the file does not exist.Patch by Art Clarke a$(surname) xuggle com
Originally committed as revision 19370 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste will maintain qt-faststart from now on.
Originally committed as revision 19369 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mention removal of libamr support in the changelog.
Originally committed as revision 19368 to svn://svn.ffmpeg.org/ffmpeg/trunk
whitespace cosmetics: Realign colums after last commit.
Originally committed as revision 19367 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for CONFIG_LIBFOO_DECODER/CONFIG_LIBFOO_ENCODER instead of justCONFIG_LIBFOO in the external libraries section.This is more consistent with the rest of the Makefiles, it makes clearer whatis actually implemented and should be advantageous if we implement an external...
Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.libopencore can now be used as a replacement except for AMR-WB encoding.
Originally committed as revision 19365 to svn://svn.ffmpeg.org/ffmpeg/trunk
flvdec: expose metadata through the generic metadata APIoriginal patch from Art Clarke aclarke at xuggle dot com
Originally committed as revision 19364 to svn://svn.ffmpeg.org/ffmpeg/trunk
flvdec: re-enable metadata parsingduration and videodatarate values are actually usefuloriginal patch from Art Clarke aclarke at xuggle dot com
Originally committed as revision 19363 to svn://svn.ffmpeg.org/ffmpeg/trunk
flvdec: don't set format and codec context from metadata valuesThis has proven to be useless and even harmfull since r18460 (expectfor duration and videodatarate).original patch from Art Clarke aclarke at xuggle dot com
Originally committed as revision 19362 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for packet_length 0, it is already treated as invalid by the padding check,but that resulted in a confusing/wrong error message.
Originally committed as revision 19361 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change av_free to av_freep
Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reallocate internal buffer when coded frame size changes.Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240.
Originally committed as revision 19359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change iv_decode_frame to get AVCodecContext as argument, so thatavcodec_check_dimensions can be called with a proper context instead of NULL.
Originally committed as revision 19358 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove useless ret variable added in last revision again.
Originally committed as revision 19357 to svn://svn.ffmpeg.org/ffmpeg/trunk
100l, theora_decode_init must pass on errors from vp3_decode_init
Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.Otherwise this will crash during decoding because the vlc tables are NULL.Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.
Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
Do not fail if 'uuid' atom is encountered before 'moov'.Patch by Frank Barchard, fbarchard at google dot com.
Originally committed as revision 19354 to svn://svn.ffmpeg.org/ffmpeg/trunk
libfaac no longer claims to be LGPL.
Originally committed as revision 19353 to svn://svn.ffmpeg.org/ffmpeg/trunk
The AltiVec code in libswscale no longer is under GPL.Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.
Originally committed as revision 29412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ensure that the filter limit values do not exceed the maximum allowed value of 127.
Originally committed as revision 19351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Extend init_loop_filter to work for filter limit values up to 127 insteadof only up to 64. 127 is the maximum value allowed by the theora specification.
Originally committed as revision 19350 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a check to vp6_parse_coeff_huffman to ensure it does not overread the input buffer.
Originally committed as revision 19349 to svn://svn.ffmpeg.org/ffmpeg/trunk
vp56dec: ensure range coder won't read past the end of input buffer
Originally committed as revision 19348 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check that palctrl is available on init instead of crashing when trying to useit on decode.Fixes mpeg2/smclockmpeg2.avi.2.1 from issue 1240.
Originally committed as revision 19347 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix a buffer overrun on corrupt huffyuv streams
Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk
ARM: NEON VP3 IDCT15% faster VP3/Theora, 10% faster VP6
Originally committed as revision 19345 to svn://svn.ffmpeg.org/ffmpeg/trunk
If the end of the input buffer is reached while decoding MJPEG and at leasta valid SOF was found, emulate an EOI.This allows e.g. to at least decode the available part of incomplete MJPEG frames.
Originally committed as revision 19344 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the MJPEG decoder return -1 when no image was decoded so that decodeerrors are actually recognizable as such.
Originally committed as revision 19343 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a got_picture flag to MJpegDecodeContext which indicates if its pictureelement is valid. Skip the code handling SOS and EOI if not, since it can notwork without a valid AVPicture.This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the...
mjpegdec: check that the coded dc_index and ac_index have a valid associated VLC table.Removes some disabled dc_index/ac_index checking code that seems to have hadsome undocumented issues and should not really be necessary anymore now.Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171....
Use enum CodecID instead of int.Fixes the following icc warning:warning #188: enumerated type mixed with another type
Originally committed as revision 19340 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix and simplify long gop mpeg codec ul computation
Originally committed as revision 19339 to svn://svn.ffmpeg.org/ffmpeg/trunk
set index duration to 0 for cbr, specifying whole container coverage
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
use ber4 length for descriptors preferred by specs
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
write profile and level local tag in mpeg descriptor
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
H.264: Check the return value of decode_vui_parameters()
Files with invalid VUI are now rejected likeother invalid SPS are.
Fixes issue1231.
Originally committed as revision 19335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace invalid Theora frame rate by 25 FPS.Avoids division by 0 due to e.g. time_base denominator being 0.
Originally committed as revision 19334 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for failed extradata malloc, fixes a crash in out-of-memory conditionsor with extremely large extradata.
Originally committed as revision 19333 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check size of "strf" header against size of enclosing "LIST" if there is one.
Originally committed as revision 19332 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix indentation
Originally committed as revision 19331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.
Originally committed as revision 19330 to svn://svn.ffmpeg.org/ffmpeg/trunk
H.264: Don't set data_partitioning for invalid NAL_DPA.
Before, the decoder could interpret a corrupt frameas a NAL_DPA and NAL_DPC, and then start decodingeven if decode_slice_header() returned an error.This frequently caused crashes.
Fixes issue1228, issue1229, and partially issue1238....
Cleanup properly at the end of MPEG Audio parsing.Patch by Art Clarke (aclarke AT xuggle com)
Originally committed as revision 19327 to svn://svn.ffmpeg.org/ffmpeg/trunk
If either of num or den is 0 make both 0 in av_set_pts_info().
Originally committed as revision 19326 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make sure av_set_pts_info() does not set the fields of a timebase tonegative values.
Originally committed as revision 19325 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert r19317, "simplify slice_end, return size of output frame".It returns non decodable B-frames.
Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
indent
Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make sure we dont read over the end.Fixes issue1237.
Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add an explanation and complete the metadata usage example.
Originally committed as revision 19320 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make arguments of av_set_pts_info() unsigned.Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
Originally committed as revision 19319 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix potentially unaligned accesses in ff_copy_bits()
A pointer should never be assigned a value which may have less than therequired alignment of the target type. Compilers may assume pointervalues have the required alignment, and emit normal load/store instructions....
simplify slice_end, return size of output frame
Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
RV3/4 intra types array causes alignment issues (at least on ARM5), thus changeits stride and offset to always have align 4.
Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use slightly more appropriate format strings for printing decimal values.patch by Frank Barchard, fbarchard google com
Originally committed as revision 19315 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use enum PixelFormat in sws_format_name() prototype
Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Fix argument type mismatches for av_picture_crop and av_picture_fill
Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
add missing \n to error message
Originally committed as revision 19313 to svn://svn.ffmpeg.org/ffmpeg/trunk
ADPCM: remove unreachable break statement after return
Originally committed as revision 19312 to svn://svn.ffmpeg.org/ffmpeg/trunk
ARM: use gcc inline asm in bswap.h only when available
Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix libx264.c to not drop SEI userdata from x264 encoder.Most muxers in ffmpeg ignore the SEI if it is placed in extradata, so insteadit has to be catted to the front of the first video frame.
Originally committed as revision 19310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.patch by Frank Barchard, fbarchard google com
Originally committed as revision 19309 to svn://svn.ffmpeg.org/ffmpeg/trunk
ARM: enable fast_unaligned when --cpu=armv67 is specified
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix nalsize check to avoid an integer overflow that made the checkincorrect for nalsize > INT_MAX - buf_index
Originally committed as revision 19307 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update seek regression checksums due to: r19300 Rewrite mp3 parser. New code is much simpler and does not drop stuff at random.
Originally committed as revision 19306 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics, change case and comments alignment
Originally committed as revision 19305 to svn://svn.ffmpeg.org/ffmpeg/trunk
correctly compute frame flags with closed gop
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix slice header checking
Originally committed as revision 19303 to svn://svn.ffmpeg.org/ffmpeg/trunk
Drop code that attempts to decode frames that are prefixed by junk.Too often it ends up decoding random data into noise without detectingit (for example after seeking of some MP3 data with oddly often occurringstartcode emulation).Fixes issue1154.
Originally committed as revision 19302 to svn://svn.ffmpeg.org/ffmpeg/trunk
Support RGB48 PNG decoding
Originally committed as revision 19301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rewrite mp3 parser. New code is much simpler and does not dropstuff at random.
Originally committed as revision 19300 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173).
Originally committed as revision 19299 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix build on Net/OpenBSD
The renaming in r19293 missed a few things.
Originally committed as revision 19298 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: group together indev/outdev dependencies.
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add doxy to av_log_missing_feature() etc. stating that the function isprimarily intended for internal use in lavc/lavf, not for use in apps.
Originally committed as revision 19296 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move av_log_missing_feature() from the internal.h to the public avcodec.hheader file.
Originally committed as revision 19295 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename ff_log_missing_feature() to av_log_missing_feature().
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the configure script select the input/output devices using--enable-indev, --enable-outdev rather than --enable-demuxer,--enable-muxer as before, same for disabling them.
Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 19292 to svn://svn.ffmpeg.org/ffmpeg/trunk
id3v2.4.0 uses syncsafe integers for sizes of frames.Fixes issue1234Fixes regression introduced in r19275
Originally committed as revision 19291 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert r19149 "Disable native Vorbis encoder"
Originally committed as revision 19290 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove inconsistent use of a @brief command in av_write_trailer()doxy.
Originally committed as revision 19289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use consistently the third person in doxy, as recommended by thejavadoc specs.
Originally committed as revision 19288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix braino.
Originally committed as revision 19287 to svn://svn.ffmpeg.org/ffmpeg/trunk
Icc does not support attribute flatten, do not try to use it.
Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update ffmpeg documentation regarding metadata setting. -title,-author, -copyright, -track, -album, and -year options have beendropped in favor of -metadata.
Originally committed as revision 19285 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove superfluous const.
Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:enumerated type mixed with another type
Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk