summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* | snowenc: initialize edgesMichael Niedermayer2013-03-061-0/+5
| | | | | | | | | | | | | | This fixes a regression caused by changes to the buffer initialization code. Fixes valgrind warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vc1dec: use av_log_ask_for_sample for odd spritesMichael Niedermayer2013-03-061-1/+1
| | | | | | | | | | Suggested-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libilbc: use ff_alloc_packet2Paul B Mahol2013-03-061-3/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libopusenc: use ff_alloc_packet2James Zern2013-03-061-3/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-03-065-54/+58
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: hwaccel: consistent name prefixes for start_frame/end_frame/decode_slice Conflicts: libavcodec/vda_h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hwaccel: consistent name prefixes for start_frame/end_frame/decode_sliceDiego Biurrun2013-03-055-54/+57
| | | | | | | | | | Some hwaccels use name prefixes, some do not, others only use them for some codecs. Add prefixes everywhere for consistency.
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2013-03-062-20/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: Move the iconv test to the bottom of configure. Make 32bit zmbv colour-space opaque. Use uint8_t instead of uint16_t pointer in kega decoder. kgv1dec: Simplify kega decoding by using memcpy instead of loops Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Make 32bit zmbv colour-space opaque.Carl Eugen Hoyos2013-03-061-1/+1
| | |
| * | Use uint8_t instead of uint16_t pointer in kega decoder.Carl Eugen Hoyos2013-03-061-6/+7
| | | | | | | | | | | | | | | This change allows to remove a few casts and avoids a potential pointer aliasing violation.
| * | kgv1dec: Simplify kega decoding by using memcpy instead of loopsReimar Döffinger2013-03-061-15/+5
| | | | | | | | | | | | | | | | | | Fixes decoding errors with icc 13.1 Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* | | qdm2: check "AC" codewordsMichael Niedermayer2013-03-061-0/+15
| | | | | | | | | | | | | | | | | | | | | Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | qdm2: simplify arithmetic coder tables generationMichael Niedermayer2013-03-061-12/+7
| | | | | | | | | | | | | | | | | | Someone should rename the variables, theres nothing random in there Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | rv20: Fix handling of frame skip.Michael Niedermayer2013-03-061-2/+4
| | | | | | | | | | | | | | | | | | | | | Fixes division by zero Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mss2dsp/upsample_plane: fix 0x0 handlingMichael Niedermayer2013-03-061-0/+3
| | | | | | | | | | | | | | | | | | | | | Fixes invalid memcpy and out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1dec: odd sized sprites are unsupportedMichael Niedermayer2013-03-061-0/+5
|/ / | | | | | | | | | | | | | | | | | | It should be easy to add support but without a sample we would not know if they work. Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3dec: Fix VBR bit rate parsingAlexander Kojevnikov2013-03-051-3/+7
| | | | | | | | | | | | | | | | | | | | | | When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag. When parsing the stream, don't override the bit rate if it's already set, otherwise calculate the mean bit rate from parsed frames. This way, the bit rate will be set correctly both for CBR and VBR streams. Signed-off-by: Alexander Kojevnikov <alexander@kojevnikov.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | zmbv: stop doing colorspace conversionPaul B Mahol2013-03-051-53/+25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | msrledec: fix output_end checksMichael Niedermayer2013-03-051-5/+6
| | | | | | | | | | | | | | Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dnxhddec: return the correct number of bytes from decode_frameMichael Niedermayer2013-03-041-1/+1
| | | | | | | | | | | | Fixes Ticket2022 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2013-03-041-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: buildsys: only include log2_tab per library for shared builds Add h264chroma dependency for cavs decoder to configure. Add h264qpel dependency for snow codec to configure. Add h264chroma dependency for vp5 and vp6 decoder to configure. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | buildsys: only include log2_tab per library for shared buildsMichael Niedermayer2013-03-041-1/+1
| | | | | | | | | | | | | | | | | | Fix linking failures with -all_load due to multiple log2_tabs Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* | | Remove incorrect use of ctype.h functions.Reimar Döffinger2013-03-035-14/+16
| | | | | | | | | | | | | | | | | | | | | As far as I can tell the code should not change behaviour depending on locale in any of these places. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Deprecate deinterlaced in libavcodec.Ronald S. Bultje2013-03-033-0/+10
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | rv34: fix aspect ratioMichael Niedermayer2013-03-031-0/+13
| | | | | | | | | | | | | | | | | | Fixes part of Ticket1550 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | wmadec: check nb_framesMichael Niedermayer2013-03-031-0/+4
| | | | | | | | | | | | | | | | | | Improves error message for Ticket968 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | h264: put call to ff_print_debug_info2 under CONFIG_MPEGVIDEO.Ronald S. Bultje2013-03-031-2/+4
| | | | | | | | | | | | | | | | | | | | | The code is located in mpegvideo, and it's likely that in a minimal config, we don't want to include debug info anyway. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | h264: make it possible to compile without error_resilience.Ronald S. Bultje2013-03-032-17/+34
|/ / | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: add a copy of draw_horiz_band.Ronald S. Bultje2013-03-031-4/+46
| | | | | | | | | | | | This makes the decoder independent of mpegvideo. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libxvid: cleanup on error pathesMichael Niedermayer2013-03-021-5/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libxvid: check & clear encoder_handleMichael Niedermayer2013-03-021-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libxvid: use av_freep() for safteyMichael Niedermayer2013-03-021-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libxvid: remove temporary files at the endMichael Niedermayer2013-03-021-2/+9
| | | | | | | | | | | | Fixes Ticket924 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mjpegdec: fix endiansoupMichael Niedermayer2013-03-021-7/+5
| | | | | | | | | | | | Fixes Ticket2175 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/flacdec: Add frame CRC calculationJames Almer2013-03-021-1/+9
| | | | | | | | | | | | Fixes ticket #2266 Signed-off-by: James Almer <jamrial@gmail.com>
* | er: Fix slice threading checkMichael Niedermayer2013-03-021-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-03-021-2/+4
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: h264: set ref_count to 0 for intra slices. Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: set ref_count to 0 for intra slices.Anton Khirnov2013-03-021-1/+4
| | | | | | | | CC:libav-stable@libav.org
* | Merge commit '668e16a0dd1ff56d4beeff5c658d8a2a08dbfac8'Michael Niedermayer2013-03-021-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '668e16a0dd1ff56d4beeff5c658d8a2a08dbfac8': h264: on reference overflow, reset the reference count to 0, not 1. Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: on reference overflow, reset the reference count to 0, not 1.Anton Khirnov2013-03-021-1/+1
| | | | | | | | | | | | | | Since decode_slice_header() returns before the reference lists are constructed, there are zero valid references. CC:libav-stable@libav.org
* | Merge commit 'e671d3ad6cd7fe1d02e9b35b889a25d8c059fce9'Michael Niedermayer2013-03-021-2/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'e671d3ad6cd7fe1d02e9b35b889a25d8c059fce9': h264: do not copy ref count/ref2frm when updating per-frame context flvdec: Check the return value of a malloc Conflicts: libavformat/flvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: do not copy ref count/ref2frm when updating per-frame contextAnton Khirnov2013-03-021-2/+0
| | | | | | | | They are filled in decode_slice_header() anyway.
* | avcodec/utils: use AVFrame accessor functionsMichael Niedermayer2013-03-011-26/+28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/rawdec: use AVFrame accessor functionsMichael Niedermayer2013-03-011-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdec: use AVFrame accessor functionsMichael Niedermayer2013-03-011-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | gifdec: use AVFrame accessor functionsMichael Niedermayer2013-03-011-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cpia: use AVFrame accessor functionsMichael Niedermayer2013-03-011-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiff: use AVFrame accessor functionsMichael Niedermayer2013-03-011-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ac3dec: use AVFrame accessor functionsMichael Niedermayer2013-03-011-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: add ff_frame_get_metadatap()Michael Niedermayer2013-03-012-0/+4
| | | | | | | | | | | | This is needed for av_dict_* Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/codec_desc: add/fix .props for SGI/DPX/X-face/BRender PIX imagePaul B Mahol2013-03-011-2/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>