aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-021-0/+13
| |
| * lavc: free the padded last frame during audio encoding properlyAnton Khirnov2013-06-201-6/+1
| |
* | lavc: do not override format if neither text nor bitmap codec prop is setMarton Balint2013-07-271-1/+4
| | | | | | | | | | | | | | Some decoders may output both, this way the decoder can set it. Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Show max bitrate for mpeg2 video streams in avcodec_string().Carl Eugen Hoyos2013-07-251-0/+3
| | | | | | | | See also 25b7aa9
* | avcodec/utils: Warn the user about the lack of a lock manager if ↵Michael Niedermayer2013-07-241-0/+2
| | | | | | | | | | | | | | | | | | | | insufficient locks are detected A lock manager is not the only possibility to avoid open/close locking issues but its easier and more robust than maintaining a lot of lock/unlock calls. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/utils: use av_assert0() to check validity of input pointers for ↵Michael Niedermayer2013-07-231-1/+1
| | | | | | | | | | | | start code search Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: add avcodec_chroma_pos_to_enum()Michael Niedermayer2013-07-231-0/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: add avcodec_enum_to_chroma_pos()Michael Niedermayer2013-07-231-0/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/avutil: Add AVColorSpace and AVColorRange to AVFramesMichael Niedermayer2013-07-171-0/+5
| | | | | | | | | | | | This also moves AVColorSpace and AVColorRange from avcodec to avutil Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ADPCM IMA WAV 2, 3 and 5 bits decoderPaul B Mahol2013-07-051-1/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Avoid a null pointer dereference in avcodec_decode_audio4().Carl Eugen Hoyos2013-07-011-0/+2
| | | | | | | | | | This could happen if oom occured while probing a file. Fixes ticket #2722.
* | avcodec: Make av_register_hwaccel() and avcodec_register() thread safeMichael Niedermayer2013-06-291-6/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Avoid a null pointer dereference in avcodec_decode_video2().Carl Eugen Hoyos2013-06-281-0/+2
| | | | | | | | | | This could happen if oom occured while probing a file. Reported in ticket #1900.
* | lavc/utils: improve feedback in case of invalid packet sizeStefano Sabatini2013-06-261-2/+7
| |
* | Merge commit '985f34b75653d02eda8eb8def3412f8577f19b01'Michael Niedermayer2013-06-171-0/+3
|\| | | | | | | | | | | | | | | | | | | * commit '985f34b75653d02eda8eb8def3412f8577f19b01': utils: fix avcodec_flush_buffers pre-reference counting compatibility Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * utils: fix avcodec_flush_buffers pre-reference counting compatibilityJanne Grunau2013-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | The to_free AVframe must be freed just like the other ones. Indeed, the calling application may expect all frames to be released. (This regression caused use-after-free in VLC with hwaccel.) Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec_encode_audio2: fix memleak on last padded frameMichael Niedermayer2013-06-141-6/+1
| | | | | | | | | | | | Regression introduced by 799f57ac96f9891d1a0f7d6c4b218ed536e8aca5 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '799f57ac96f9891d1a0f7d6c4b218ed536e8aca5'Michael Niedermayer2013-06-111-15/+9
|\| | | | | | | | | | | | | * commit '799f57ac96f9891d1a0f7d6c4b218ed536e8aca5': lavc: use AVFrame API properly in pad_last_frame(). Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: use AVFrame API properly in pad_last_frame().Anton Khirnov2013-06-101-15/+8
| | | | | | | | This also simplifies the code.
* | avcodec/utils: Fix encoder allocation sizeMichael Niedermayer2013-06-111-1/+1
| | | | | | | | | | | | Fixes Ticket2645 Found-by: Darrell Walisser Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | audio frame multi-threaded decodingPaul B Mahol2013-06-051-3/+7
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c'Michael Niedermayer2013-06-031-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c': Go2Webinar decoder Conflicts: Changelog configure libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h libavformat/riff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | add YUVJ411PMichael Niedermayer2013-05-211-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_align_dimensions2: add missing yuva formatsMichael Niedermayer2013-05-181-0/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-181-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Escape 130 (RPL) decoder Conflicts: libavcodec/Makefile libavcodec/allcodecs.c libavcodec/codec_desc.c libavcodec/escape130.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '30e256430eb88c6d4c382581b89bca171d79fbc0'Michael Niedermayer2013-05-171-1/+1
|\| | | | | | | | | | | | | | | | | | | * commit '30e256430eb88c6d4c382581b89bca171d79fbc0': lavc/pthread: remove obsolete checks Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc/pthread: remove obsolete checksAnton Khirnov2013-05-171-1/+1
| | | | | | | | | | | | Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore.
* | replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*Michael Niedermayer2013-05-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-151-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-151-2/+2
| |
* | Merge commit '252c0bfdc014c1fb6ad4fe06242c7beca58a6b41'Michael Niedermayer2013-05-151-0/+1
|\| | | | | | | | | | | | | * commit '252c0bfdc014c1fb6ad4fe06242c7beca58a6b41': lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors) Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)Matt Wolenetz2013-05-141-0/+1
| | | | | | | | | | | | This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st>
* | ADPCM IMA Radical decoderJames Almer2013-05-101-0/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | ADPCM DTK decoderJames Almer2013-05-101-0/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavu: add FF_CEIL_RSHIFT and use it in various places.Clément Bœsch2013-05-091-6/+7
| |
* | libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2013-05-081-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'e55e8b2c362a60bad66929d83d8c83b0d7f5ffc9'Michael Niedermayer2013-05-081-10/+9
|\| | | | | | | | | | | | | | | | | | | * commit 'e55e8b2c362a60bad66929d83d8c83b0d7f5ffc9': lavc: do not leak frames in avcodec_decode_audio4 Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: do not leak frames in avcodec_decode_audio4Luca Barbato2013-05-071-3/+1
| | | | | | | | | | | | | | Notwithstanding the return value the frame should be freed if is not going to be used. Reported-by: Matthew Wolenetz <wolenetz@chromium.org>
* | avcodec/utils: Fix leak by dereferencing audio frame when side data causes ↵Matt Wolenetz2013-05-071-0/+2
| | | | | | | | | | | | whole frame skip Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: Set frame.width/height on all exit pathes of ff_get_buffer()Michael Niedermayer2013-05-051-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487'Michael Niedermayer2013-05-051-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487': avcodec: Add av_cold attributes to init functions missing them Conflicts: libavcodec/aacpsy.c libavcodec/atrac3.c libavcodec/dvdsubdec.c libavcodec/ffv1.c libavcodec/ffv1enc.c libavcodec/h261enc.c libavcodec/h264_parser.c libavcodec/h264dsp.c libavcodec/h264pred.c libavcodec/libschroedingerenc.c libavcodec/libxvid_rc.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/proresdsp.c libavcodec/rangecoder.c libavcodec/videodsp.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-2/+3
| |
* | avcodec: move lowres down with the next ABI bump and add accessorsMichael Niedermayer2013-05-031-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '088f38a4f9f54bb923405c67c9e72d96d90aa284'Michael Niedermayer2013-05-011-16/+16
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '088f38a4f9f54bb923405c67c9e72d96d90aa284': avcodec: Drop unnecessary ff_ name prefixes from static functions Conflicts: libavcodec/ass.c libavcodec/h264_parser.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-301-20/+20
| |
* | Merge commit 'e036bb7899d0faca9159206be9bf5552e76e7633'Michael Niedermayer2013-05-011-0/+4
|\| | | | | | | | | | | | | | | * commit 'e036bb7899d0faca9159206be9bf5552e76e7633': lavc: clear AVBuffers on decoded frames if refcounted_frames is not set FATE: add an additional indeo3 test Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: clear AVBuffers on decoded frames if refcounted_frames is not setAnton Khirnov2013-04-301-0/+4
| | | | | | | | | | Otherwise some code might mistakenly think it is allowed to unref those buffers, which would lead to double unref.
* | avcodec_string: Print the used codec if it differs from the codec_id name.Michael Niedermayer2013-04-271-0/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_string: remove the "(hq)" listingMichael Niedermayer2013-04-271-2/+2
| | | | | | | | | | | | | | printing "hq" depending on a single video encoding parameter makes little sense Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: check decoded subtitles encoding.Nicolas George2013-04-241-1/+30
| | | | | | | | Address trac ticket #2431.