summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
| * | vp9: don't allow compound references if error_resilience is enabled.Ronald S. Bultje2015-05-15
| | | | | | | | | | | | | | | | | | libvpx (probably accidentally) clears the bits if error_res is set, along with keyframe/intraonly. This probably wasn't the intention (since it's local data), but it's behaviour we have to copy...
| * | vp9: clamp segmented lflvl before applying ref/mode deltas.Ronald S. Bultje2015-05-15
| | |
| * | vp9: reset loopfilter mode/ref deltas on keyframe.Ronald S. Bultje2015-05-15
| | |
| * | vp9: fix crash when playing back 440/440 content with width%64<56.Ronald S. Bultje2015-05-15
| | |
| * | vp9: extend loopfilter workaround for vp9 h/v mix-up to work for 422.Ronald S. Bultje2015-05-15
| | |
| * | vp9: clip motion vectors in the same way as libvpx does.Ronald S. Bultje2015-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The practical effect of this is that the scaling will wrongly not be applied to the interpolation edge (the 3/4 constants in this patch). In other words, we clip to the pre-scaling interpolation, even though these should be clipped post-scaling. The resulting out-of-frame MVs are thus automatically clipped within the visible portion of the frame, which is probably not the intention, but is unfortunately what libvpx does, so we need to copy that behaviour.
| * | vp9: set skip flag if the block had no coded coefficients.Ronald S. Bultje2015-05-14
| | | | | | | | | | | | | | | | | | This reproduces libvpx behaviour. It seems like it originally only targeted loopfilter behaviour, but this unfortunately effects following block contexting and thus directs bitstream sync.
| * | vp9: apply mv scaling workaround only when subsampling is enabled.Ronald S. Bultje2015-05-14
| | |
| * | vp9: read all 4x4 blocks in sub8x8 blocks individually with scalability.Ronald S. Bultje2015-05-14
| | |
| * | vp9: fix segmentation map referencing upon framesize change.Ronald S. Bultje2015-05-14
| | |
| * | vp9: disable more pmulhrsw optimizations in idct16/32.Ronald S. Bultje2015-05-14
| | | | | | | | | | | | | | | For idct16, only when called from a adst16x16 variant, so impact is minor. For idct32, for all, so relatively major impact.
| * | vp9: disable all pmulhrsw in 8/16 iadst x86 optimizations.Ronald S. Bultje2015-05-14
| | | | | | | | | | | | They all overflow in various samples that are considered valid input.
* | | avcodec/golomb: fix reading huge signed rice golomb valuesMichael Niedermayer2015-05-17
| | | | | | | | | | | | | | | | | | No testcase is known, nor any case where such huge values would occur Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/golomb: get_ur_golomb_jpegls: Fix reading huge k valuesMichael Niedermayer2015-05-17
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/flacdec: Attempt to auto-detect old buggy flacMichael Niedermayer2015-05-17
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc/vc1: Never decode vc1 as gray if gray decoding was not enabled.Carl Eugen Hoyos2015-05-17
| | |
* | | lavc: Print a warning if gray decoding was requested but not enabled.Carl Eugen Hoyos2015-05-17
| | |
* | | lavc/h263: Set color_range for gray decoding.Carl Eugen Hoyos2015-05-17
| | |
* | | lavc/vc1: Set color_range for gray decoding.Carl Eugen Hoyos2015-05-17
| | |
* | | lavc/qdrw: Fix overwrite when reading invalid Quickdraw images.Carl Eugen Hoyos2015-05-17
| | |
* | | lavc/flac: Fix encoding and decoding with high lpc.Carl Eugen Hoyos2015-05-17
| | | | | | | | | | | | | | | | | | Based on an analysis by trac user lvqcl. Fixes ticket #4421, reported by Chase Walker.
* | | lavc/flacdec: Sanitize FLACSTREAMINFO usage.Carl Eugen Hoyos2015-05-17
| | |
* | | avcodec/aacenc: use < 0 instead of != 0 for error checksMichael Niedermayer2015-05-16
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/j2kenc: Use ret < 0 instead of ret != 0 for error checksMichael Niedermayer2015-05-16
| | | | | | | | | | | | | | | | | | This is how most code in FFmpeg checks for failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/hevc: Fix typo in num_entry_point_offsets checkMichael Niedermayer2015-05-15
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/libtheoraenc: Check for av_malloc failureMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1257799 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/svq1dec: Remove duplicate buf_size checkMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1297573 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/dcadec: Check active_bandsMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1297594 part2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/dcadec: Check scale table indexMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1297594 part 1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/sonic: More completely check sample_rate_index and channelsMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1271783 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/sonic: check memory allocationsMichael Niedermayer2015-05-15
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/smvjpegdec: check avcodec_decode_video2() return codeMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1271810 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/shorten: More complete pred_order checkMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1239055 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/shorten: Fix code depending on signed overflow behaviorMichael Niedermayer2015-05-15
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/shorten: Check skip_bytes()Michael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1210526 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/put_bits: Remove dead code in put_bits()Michael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1297574 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/proresdec2: Reset slice_count on deallocationMichael Niedermayer2015-05-15
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/vp9: Use separate memset for counts.eobMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | | | | Makes no real difference, but maybe scares coverity less (CID1297578) Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/acelp_vectors: Assert that x is within the array in ↵Michael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | ff_set_fixed_vector() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/vp3: Cleanup order of operations for current_run checkMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | This shouldnt make a difference Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/h264_slice: Fix ranges in assertMichael Niedermayer2015-05-15
| | | | | | | | | | | | | | | | | | Fixes CID1297592, CID1297593 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/dvbsubdec: Clear w/h/size on region buffer allocation failureMichael Niedermayer2015-05-14
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/diracdec: Make data_unit_size unsignedMichael Niedermayer2015-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes CID1271788 with this change the value is more explicitly checked, it was fully checked before though Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/dcadec: Check subsubframesMichael Niedermayer2015-05-14
| | | | | | | | | | | | | | | | | | Fixes: CID1239152 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/dcadec: Check nchansMichael Niedermayer2015-05-14
| | | | | | | | | | | | | | | | | | Fixes CID1239110 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | hevc: make avcodec_decode_video2() fail if get_format() failswm42015-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Personally, I need the decoder to back out if get_format() returns no usable pixel format. This didn't work because the error code was not propagated down the call chain. This in turn happened because the variable declaration removed in this patch shadowed the variable, whose value is returned at the end of the function. Consequently, failures of decode_nal_unit() were ignored in this place. Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/cavsdec: Use ff_set_dimensions()Michael Niedermayer2015-05-14
| | | | | | | | | | | | | | | | | | Fixes CID1239111 part2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/cavsdec: Check frame_rate_codeMichael Niedermayer2015-05-14
| | | | | | | | | | | | | | | | | | Fixes CID1239111 part1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/cavsdec: Check esc_codeMichael Niedermayer2015-05-14
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/qdrw: Fix the code which asks for version 1 samplesMichael Niedermayer2015-05-14
| | | | | | | | | | | | | | | | | | | | | The new code only asks for version 1 if its actually version 1 and prints the version bytes if its something else Signed-off-by: Michael Niedermayer <michaelni@gmx.at>