summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* configure: whitespace cosmeticsDiego Biurrun2013-06-23
|
* configure: Simplify an expression with enabled_all.Diego Biurrun2013-06-23
|
* configure: More msvc/icl combiningAlex Smith2013-06-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* ogg: relax demuxer conformance checksLuca Barbato2013-06-22
| | | | | Some samples in the wild are missing headers that are expected by the specification but in practice do not affect decoding.
* avconv: report the error for codec open failureLuca Barbato2013-06-22
| | | | | External codec may have corner case reason to fail at init, better report them instead having the user wonder.
* avconv: drop additional strerror fallbackLuca Barbato2013-06-22
| | | | strerror_r is called by av_strerror already.
* lavc: free the padded last frame during audio encoding properlyAnton Khirnov2013-06-20
|
* vsrc_movie: do not free avoption variables in uninit()Anton Khirnov2013-06-20
| | | | | The generic code frees them as well. Since av_free was used to free them instead of av_freep, this would result in a double free.
* configure: Remove unneeded icl inline compatibility definitionAlex Smith2013-06-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer()Anton Khirnov2013-06-18
| | | | | This simplifies the code and avoids using libavcodec-specific avcodec_fill_audio_frame().
* lavfi: math typo in interlace filterVittorio Giovara2013-06-17
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: check frame size validityKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: pad the extradata allocationKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: check the return value of smacker_decode_treeKostya Shishkov2013-06-16
| | | | | | | | | Also prevent a memory leak. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: fix an off by one in huff.length computationKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* utils: fix avcodec_flush_buffers pre-reference counting compatibilityJanne Grunau2013-06-16
| | | | | | | | | | | | 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>
* avf: move url utility functions in a separate fileLuca Barbato2013-06-16
|
* avf: move ff_write_chained to mux.cLuca Barbato2013-06-16
|
* avf: move riff tags accessors where they belongLuca Barbato2013-06-16
|
* avf: move ff_http_match_no_proxy to networkLuca Barbato2013-06-16
| | | | It is only used by network protocols.
* avf: split off format register and lookup functionLuca Barbato2013-06-16
|
* bitstream: forward error values and drop few abort()Luca Barbato2013-06-16
|
* bitstream: K&R formatting cosmeticsLuca Barbato2013-06-16
|
* h264_mp4toannexb_bsf: return a padded bufferLuca Barbato2013-06-15
| | | | | The code using the returned buffer might expect it to be FF_INPUT_BUFFER_PADDING_SIZE padded as any other avpacket.
* h264_mp4toannexb_bsf: factor out extradata parsingLuca Barbato2013-06-15
|
* h264_mp4toannexb_bsf: K&R formatting cosmeticsLuca Barbato2013-06-15
|
* 4xm: check bitstream_size boundary before using itLuca Barbato2013-06-12
| | | | | | | Prevent buffer overread. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: refactor decode_p_blockLuca Barbato2013-06-12
| | | | | | Directly return from code 1, 2 and 6 codepaths and simplify the remaining one to have a single overflow check and a single call to mcdc.
* 4xm: do not overread the source buffer in decode_p_blockLuca Barbato2013-06-12
| | | | | | | Check for out of picture macroblocks before calling mcdc. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: do not overread the prestream bufferLuca Barbato2013-06-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: validate the buffer size before parsing itLuca Barbato2013-06-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: reject frames not compatible with the declared versionLuca Barbato2013-06-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: drop pointless assertLuca Barbato2013-06-12
| | | | Make sure the value of wlog2 is always between 0 and 3.
* 4xm: forward errors from decode_p_blockLuca Barbato2013-06-12
| | | | | | | Partially mitigate out of memory writes. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: fold last_picture lazy allocation in decode_p_frameLuca Barbato2013-06-12
|
* 4xm: do not overread while parsing headerLuca Barbato2013-06-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: refactor fourxm_read_headerLuca Barbato2013-06-12
| | | | Split sound and video tag parsing in separate functions.
* 4xm: K&R formatting cosmeticsLuca Barbato2013-06-12
|
* 4xm: use the correct logging contextLuca Barbato2013-06-12
|
* g2meet: Fix a typo in the height comparisonMichael Niedermayer2013-06-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* g2meet: do not leak buffersKostya Shishkov2013-06-12
|
* g2meet: more graceful cursor loadingKostya Shishkov2013-06-12
|
* g2meet: reset dimensions on header parsing errorsKostya Shishkov2013-06-12
|
* lavc: add a libwavpack encoder wrapperAnton Khirnov2013-06-10
|
* lavc: use AVFrame API properly in pad_last_frame().Anton Khirnov2013-06-10
| | | | This also simplifies the code.
* matroskadec: introduce resync function.Sean McGovern2013-06-10
| | | | | | | | | | This allows handling matroska files with errors. Fixes test4.mkv and test7.mkv from the official Matroska test suite, and by extension Bugzilla #62. Based on a patch by Reimar Doffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: Don't add -fPIC on windows targetsMartin Storsjö2013-06-10
| | | | | | | | | | | This avoids warnings about this option not having any effect on this platform. We still want to enable the pic configure item for these platforms (if detected via the compiler builtin define __PIC__) to get proper inline assembly workarounds. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't explicitly disable PIC for windows targetsMartin Storsjö2013-06-10
| | | | | | | | | | | | | | | | This reverts e08c946c6 and 05165c2f7a. The actual intention of e08c946c6 was to fix shared library builds for arm/win32, which can also be accomplished in other ways. Disabling pic on those platforms broke inline assembly on cygwin/64 (since some inline assembly requires knowing whether we are building as PIC or not), and might also break inline assembly on other compilers on windows. As a side-effect, this unfortunately brings back all the warnings about PIC not having any effect on that platform. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: arm: Don't try to enable pic for shared libraries on win32Martin Storsjö2013-06-10
| | | | | | | | The object file format doesn't support PIC loads in ARM assembly, there are no relocation types in PE/COFF that correspond to BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF). Signed-off-by: Martin Storsjö <martin@martin.st>
* utvideodec: Set colorspace by codec_tag.Yusuke Nakamura2013-06-10
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>