summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* vc1dec: refactor check with missing parenthesisVittorio Giovara2014-11-13
| | | | | | | FATE tests updated accordingly, no visual difference. CC: libav-stable@libav.org Bug-Id: CID 1087087
* vc1dec: always initialize tx and tyVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1245702 / CID 1245703
* dnxhdenc: check negative indexVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 700464
* display: fix order of operandsVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238828 / CID 1238832
* nellymoserenc: fix array indexVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732258
* nellymoserenc: fix array element orderingMichael Niedermayer2014-11-13
| | | | | | | Fixes assertion failures and valgrind warnings in trellis encoder. CC: libav-stable@libav.org Bug-Id: CID 732256 / CID 732257
* libopusenc: prevent an out-of-bounds read by returning earlyVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1244188
* libopusenc: check return valueVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 739870
* vp7: fix checking vp7_feature_value_size()Michael Niedermayer2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1197061
* 4xm: more thorought check for negative index and negative shiftVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1087094
* tiff: Use av_mallocz_arrayLuca Barbato2014-11-11
| | | | CC: libav-stable@libav.org
* h264_parser: don't stop on SPS_EXT in splitJohn Stebbins2014-11-11
| | | | | Add SPS_EXT, SEI, and subset SPS to codes that are skipped during split. These codes can come before the PPS and results in incomplete extradata.
* h264_cabac: fix one fill_rectangle() indentation levelMichael Niedermayer2014-11-11
| | | | Bug-Id: CID 1087088
* png_parser: fix size of chunk_lenghtVittorio Giovara2014-11-11
| | | | | | | Fixes the comparison against constant value 0x7fffffff. CC: libav-stable@libav.org Bug-Id: CID 1198260
* dvbsubdec: move shared codepathVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238839
* dvbsubdec: improve error checkingVittorio Giovara2014-11-11
| | | | | | | | | Use av_mallocz_array instead of iterating and check the returned memory. Check returned memory and cleanly exit in case of error during the loop. Avoid a null pointer dereference for invalid data. CC: libav-stable@libav.org Bug-Id: CID 29575
* dvbsubdec: add missing breakJernej Fijačko2014-11-11
| | | | | | | Fix a memory leak too. CC: libav-stable@libav.org Bug-Id: CID 732230
* hevc_cabac: decrease CABAC_MAX_BINMichael Niedermayer2014-11-11
| | | | | | | Prevents shifts with undefined behavior, as no syntax element has a valid value greater than 1 << 31. Bug-Id: CID 1206635
* hevc_mvs: prevent unitialized useVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1244202
* 4xm: drop unnecessary checkVittorio Giovara2014-11-11
| | | | | | | data_size is always >= 0 in this case. CC: libav-stable@libav.org Bug-Id: CID 1238788
* hpeldsp: Increase put_no_rnd_pixels_tab[][] sizeMichael Niedermayer2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 991852
* mjpegenc: fix argument size in encode_mbVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1047235
* mpegvideo: fix size of arrayVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238789
* mpegvideo: check mpv return valueVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238786
* mpeg12enc: increase declared size of block function argumentMichael Niedermayer2014-11-11
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1047236 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libavcodec: Unconditionally build xiph.oMartin Storsjö2014-11-11
| | | | | | | | | vorbis_parser.o is built unconditionally since 5e80fb7ff, and the unconditionally built parts of it depend on xiph.o. This fixes builds with --disable-everything. Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Support building with the latest version of fdk-aacMartin Storsjö2014-11-10
| | | | | | | | | | | | | | The latest fdk-aac code drop (from android 5.0) changed the channel layout enums (changing the value of existing enum constants), and renamed the option for downmixing. The failsafe comparison between ctype and FF_ARRAY_ELEMS(channel_counts) can trigger warnings (-Wtautological-constant-out-of-range-compare) when building with the old FDK AAC releases, where it can't be out of range with the enum values used there. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Compact the side-data passthroughLuca Barbato2014-11-09
|
* mjpegdec: fix undefined shiftVittorio Giovara2014-11-06
| | | | | | | Add a comment to explain the code. CC: libav-stable@libav.org Bug-Id: CID 1194388
* pthreads_frame: Do not leak on failure pathLuca Barbato2014-11-06
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1135767 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpeg12dec: simplify context duplicationVittorio Giovara2014-11-06
| | | | | CC: libav-stable@libav.org Bug-Id: CID 717453 / CID 717454 / CID 717915
* mpeg12enc: factor out check in encode_dcVittorio Giovara2014-11-06
| | | | | | | Makes coverity less confused and the code more readable. CC: libav-stable@libav.org Bug-Id: CID 751744
* mpegvideo_enc: factor out denominator and explicitly cast operandsVittorio Giovara2014-11-06
| | | | | CC: libav-stable@libav.org Bug-Id: CID 608053
* mpegvideo_enc: rework direct mode checkVittorio Giovara2014-11-06
| | | | | | | Remove stray semicolon and share codepaths. CC: libav-stable@libav.org Bug-Id: CID 991857
* lavc: make avpriv_flac_is_extradata_valid() private on the next bumpAnton Khirnov2014-11-06
|
* lavc: make avpriv_flac_parse_streaminfo() private on the next bumpAnton Khirnov2014-11-06
|
* lavf: stop using avpriv_flac_parse_streaminfo()Anton Khirnov2014-11-06
| | | | | | The only parameters needed by the demuxers are the sample rate and sample count, which can be trivially extracted manually, without resorting to an avpriv function.
* lavc,lavf: switch to the new vorbis parse APIAnton Khirnov2014-11-06
|
* lavc: add a public API for parsing vorbis packets.Anton Khirnov2014-11-06
| | | | | | It is required by (at least) the ogg demuxer. Mark the current semi-public apriv API for removal.
* vorbis_parser: add an AV prefix to VorbisParseContextAnton Khirnov2014-11-06
| | | | This is done in preparation for making it public.
* vorbis_parser: use a dedicated AVClass for loggingAnton Khirnov2014-11-06
| | | | | | Currently, the API takes an external AVCodecContext, which is used only for extradata and logging. This change will allow to it to work without an AVCodecContext in the following commits.
* hwaccel: Deinitialize hardware acceleration early enoughRémi Denis-Courmont2014-11-04
| | | | | | | | | | | The application will destroy the underlying hardware handles when get_format() gets called again. Also this ensures the deinitialization takes place if the get_format callback returns an error. Regression from 1c80c9d7ef809180042257200c7b5f6b81d0b0e2. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aacdec: add default case in channel layoutVittorio Giovara2014-11-04
| | | | Bug-Id: CID 732291
* aacsbr: change order of operation to prevent out of array readMichael Niedermayer2014-11-04
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732250
* aacsbr: treat 1-d arrays as suchVittorio Giovara2014-11-03
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1238802 / CID 1238793 / CID 1238785 CID 1238808 / CID 1238809
* celp_filters: don't use filter lenght as loop boundVittorio Giovara2014-11-03
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 717906 / CID 717907 / CID 717916 / CID 717917 / CID 717919 / CID 732259
* error_resilience: initialize prev_* variablesVittorio Giovara2014-11-03
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732293 / CID 732294
* motion_est: remove dead codeVittorio Giovara2014-11-03
| | | | | | mb_type is initialized to 0 and never updated before the check. Bug-Id: CID 1238782
* get_bits: remove unused assignmentVittorio Giovara2014-11-03
| | | | Bug-Id: CID 1238816
* vdpau: return MAIN instead of BASELINE for H.264 CBPRémi Denis-Courmont2014-10-28
| | | | | | | This is the same as the previous change, but for applications using the old API (such as VLC 2.2). Signed-off-by: Anton Khirnov <anton@khirnov.net>