History | View | Annotate | Download (34.8 KB)
Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts
Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_get_profile_name() to get profile names.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26259 to svn://svn.ffmpeg.org/ffmpeg/trunk
free subtitle_header before overwriting it to avoid memleak
Originally committed as revision 26176 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix -lowres with ffplay.
Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru
Originally committed as revision 26057 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change the argument of memory allocation functions from unsigned int to size_twith the next major bump in libavcodec.
Originally committed as revision 25872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use the new libavcore audio channel API.
This also allows to remove a linking dependency of libavfilter onlibavcodec.
Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumSampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move internal function ff_set_systematic_pal() to libavcore, andrename it ff_set_systematic_pal2().
Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
H.264 decode: support cropping up to 28 pixels in interlaced mode.Contrary to progressive, just being able to crop up to 14/15 pixelsis not enough to encode all supported resolutions, and the newbehaviour is also consistent with e.g. MPEG-2 etc.
Originally committed as revision 25669 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove usage of deprecated libavcodec/audioconvert.h functions.
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_get_bits_per_sample_fmt() to libavcore/samplefmt.h anddeprecate av_get_bits_per_sample_format().
Originally committed as revision 25654 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API
Originally committed as revision 25273 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_VIDEO_OLD define to disable the deprecated decode_video API
Originally committed as revision 25272 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_AUDIO_OLD define to disable the deprecated decode_audio API
Originally committed as revision 25270 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move allocation and init to defaults of the private codec contexts to avcodec_get_context_defaults3().That way the user app can set codec specific parameters in the private contextbefore opening it.
Originally committed as revision 25257 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move AVOptions from libavcodec to libavutil
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check avctx width/height more thoroughly (e.g. all values 0 except width wouldhave been accepted before).Also do not fail if they are invalid but instead override them to 0.This allows decoding e.g. MPEG video when only the container values are corrupted....
Test lowres before codec init.
Originally committed as revision 25114 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow the lowres option to affect audio codecs, too
Originally committed as revision 25094 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove use of deprecated functions av_image_fill_pointers/linesizes inlibavcodec/utils.c, fix warnings.
Originally committed as revision 25069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove use of the deprecated function avcodec_check_dimensions(), useav_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Deprecate avcodec_check_dimensions() in favor of the new functionav_check_image_size() declared in libavcore/imgutils.h.
Originally committed as revision 24709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,and drop the the ff_ variants at the next major bump.
Originally committed as revision 24620 to svn://svn.ffmpeg.org/ffmpeg/trunk
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()in favor of the newly added corresponding functionsav_parse_video_size() and av_parse_video_rate() defined inlibavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of...
100l, change avsubtitle_free to the actually tested and working version.
Originally committed as revision 24188 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avsubtitle_free function.
Originally committed as revision 24185 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add new decoder property max_lowres and do not init decoder if requested value is higher.
Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move av_tempfile() to libxvidff.c as only the xvid wrapper needs it
Originally committed as revision 24074 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avcodec_string() use av_get_codec_tag_string().
Originally committed as revision 23422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement av_get_codec_tag_string() and use it in ffprobe.
Originally committed as revision 23421 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics : Fix typo.
Originally committed as revision 23345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add CODEC_CAP_EXPERIMENTAL and prefer encoders without it.
Patch by Janne Grunau, janne-ffmpeg jannau net
Originally committed as revision 23334 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize some code into the new function ff_toupper4().
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set coded_frame to NULL when closing a codec, since it mightbe invalid after the codec is "gone".
Originally committed as revision 23101 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avcodec_check_dimensions() return AVERROR rather than -1in case of invalid picture size.
Originally committed as revision 22962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if thedocumentation in the @file block refers to a file different from theone the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize code in get_bit_rate().
Originally committed as revision 22879 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix segfault when encoder initialization fails.Patch by Craig Thomasson $(name) dot $(surname) ripcode com
Originally committed as revision 22811 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add function to export EDGE_WIDTH from libavcodec.
Originally committed as revision 22753 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make av_get_bit_rate() static and remove av_, the function is only usedinside libavcodec/utils.c.
Originally committed as revision 22117 to svn://svn.ffmpeg.org/ffmpeg/trunk
Include libxvid_internal.h: It contains the prototype for av_tempfile().
Originally committed as revision 22116 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix avcodec_align_dimensions to return values suitably aligned for FLV decodingwith SSE and add a avcodec_align_dimensions2 taht returns the stride alignmentrequirements independently from doing the width/height padding.
Originally committed as revision 22095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Free encoder extradata in avcodec_close(). Should fix several small memoryleaks when encoding (at least for asv, wma and aac).
Fix also issue 1577.
Originally committed as revision 21923 to svn://svn.ffmpeg.org/ffmpeg/trunk
Special case VP5/6 chroma alignment on x86 as well
Originally committed as revision 21782 to svn://svn.ffmpeg.org/ffmpeg/trunk
More av_cold for infrequently called functions.
Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1instead of custom and bloated code to find an index into a w/h array.
Originally committed as revision 21113 to svn://svn.ffmpeg.org/ffmpeg/trunk
100l: Fix compilation after r21037.
Originally committed as revision 21039 to svn://svn.ffmpeg.org/ffmpeg/trunk
Handle more ADPCM codecs in av_get_bits_per_sample().
This removes some special-case code from riff.c.CODEC_ID_ADPCM_G726 is still handled in riff.c as before because it isnot guaranteed to be fixed 4 bits per sample.
Originally committed as revision 21037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() andXXX_license() functions, consistent with the rest of FFmpeg.
Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set reordered_opaque in default_reget_buffer() with internal buffers.From ffmbc0.3, this one appears to be a bugfix.
Originally committed as revision 20862 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize av_get_bit_rate (for future use outside of libavcodec).
Patch by Robert Krüger, krueger signal7 de
Originally committed as revision 20569 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allocate pictures with enough padding for jpeg.Ensure that jpeg does not use mbs that could require larger padding.This might have been exploitable.
Originally committed as revision 20566 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add functions to return library license and library configuration.
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a NULL pointer check to avcodec_close() this should prevent a segfaultwhen closing without open.
Originally committed as revision 20495 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move ff_reverse in libavcodec to av_reverse in libavutil.
Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
Print a warning message when avcodec_default_free_buffers finds unreleasedbuffers, this hopefully should help detect codecs that do not release allbuffers e.g. in the decode_end function.
Originally committed as revision 20230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add an execute2 function that is more flexible and allows to use parallelprocessing with jobs > threads without wasting too much memory.It also avoids needing a separate int array when the only additional datathe jobs needs is a single int running from 0 to count-1....
Make avcodec_open set codec_id and codec_type if they haven't been set.This fixes the API breakage introduced by the check that avctx codec id and typematch the opened codec and should make (almost?) all applications work again.
Originally committed as revision 20125 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make sure priv_data is freed and codec is set to NULL in case of failure of avcodec_open().
Originally committed as revision 20002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch.patch from chromeThis is said to be able to lead to a stack based buffer overflow.
Originally committed as revision 19973 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add parentheses to logical expression to avoid the warning:libavcodec/utils.c:476: warning: suggest parentheses around && within ||
Originally committed as revision 19933 to svn://svn.ffmpeg.org/ffmpeg/trunk
perform sanity check on number of audio channels in avcodec_open()
Originally committed as revision 19877 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
Set AV_PKT_FLAG_KEY in avcodec_decode_video.This fixes decoding of MPNG, which currently is incorrectly decoded asCorePNG delta frames.CorePNG can not be correctly decoded via this old API either way.
Originally committed as revision 19079 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a lock manager API to libavcodec.
Allows an application to register a callback that manages mutexeson behalf of FFmpeg.With this callback registered FFmpeg is fully thread safe.
Originally committed as revision 19025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move ALIGN macro to libavutil/common.h and use it in various places
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avcodec_thread_init() set the thread count, even in the case whenthreads support is not enabled. This should avoid the need forthread_count explicit setting in applications.
Originally committed as revision 18670 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update safety check as the maximum pixel size is no longer 4.New max size is 16bit * 4 samples (RGBA).
Originally committed as revision 18655 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a av_fast_malloc function and replace several uses of av_fast_realloc,thus avoiding potential memleaks and pointless memcpys.
Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make sure mpeg2 has its height rounded up to 32 as that is neededfor interlaced stuff.This might have been exploitable when emu edge was not set thoughnote this bug has been introduced just a few days ago.
Originally committed as revision 18405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anAVPacket argument rather than a const uint8_t *buf + int buf_size. This allowspassing of packet-specific flags from demuxer to decoder, such as the keyframeflag, which appears necessary to playback corePNG P-frames....
Add 16cif video frame size abbreviation. i.e. -s alias for 1408x1152.
Originally committed as revision 18301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix indentation after r18047.
Originally committed as revision 18048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change linesize alignment method to ensure that linesize0 == 2*linesize1for YUV420P and YUV422P always.Fixes MPEG-2 4:2:2 encoding on PPC and ARM, and should fix mxf_d10 regression.
Originally committed as revision 18047 to svn://svn.ffmpeg.org/ffmpeg/trunk
ff_find_hwaccel()
Originally committed as revision 17568 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_hwaccel_next() by Gwenole Beauchesne.
Originally committed as revision 17567 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_register_hwaccel() from Gwenole Beauchesne.
Originally committed as revision 17566 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check return value of ff_fill_pointer in avcodec_default_get_buffer,if it returns -1 we do not know how to allocate an AVFrame for that formatand must return -1 instead of returning nonsense.
Originally committed as revision 17542 to svn://svn.ffmpeg.org/ffmpeg/trunk
Approved hunks for VAAPI / our new shiny hwaccel APIby Gwenole Beauchesne gbeauchesne splitted desktop com
Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check that there are subtitle rects to encode in avcodec_encode_subtitle()
Patch by Björn Axelsson ( gecko A acc D umu D se )
Originally committed as revision 17093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check that start_display_time is 0 in avcodec_encode_subtitle()
Originally committed as revision 17092 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove 'const' qualifier from variable in av_parse_video_frame_size().Thus only one warning is printed due to assignment instead of 2 from strtol.
Originally committed as revision 17045 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove useless cast, it does not remove warning, encode prototype must be changed
Originally committed as revision 17044 to svn://svn.ffmpeg.org/ffmpeg/trunk
Drop the deprecated function register_avcodec() at the next majorversion bump.
Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename register_avcodec() as avcodec_register() and deprecate the oldfunction name.
Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ensure that the palette is set in data1 for all 8bit formats.Also document it.
Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use full internal pathname in doxygen @file directives.Otherwise doxygen complains about ambiguous filenames when files existunder the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: Remove pointless period after copyright statement non-sentences.
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split ff_log_missing_feature into ff_log_missing_featureand ff_log_ask_for_sample.Patch by Kenan Gillet: gmail_adress(author)
Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change semantic of CONFIG_*, HAVE_* and ARCH_*.They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove hack to print mp2/mp1 with codec_id of CODEC_ID_MP3.
Originally committed as revision 16583 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move the AVCodecContext options definition to a dedicated file, reducethe utils.c clutter.
Originally committed as revision 16514 to svn://svn.ffmpeg.org/ffmpeg/trunk
s/FFmpeg-devel/ffmpeg-devel/
Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change mplayerhq.hu references to ffmpeg.org where appropriate.
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
ARM: NEON optimised simple_idct
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk