aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | lavf: generic code for exporting attached pictures.Anton Khirnov2012-02-292-18/+44
| | |
| * | id3v2: read attached pictures and export them in ID3v2ExtraMeta.Anton Khirnov2012-02-292-0/+125
| | |
| * | lavf: move CodecMime from matroska.h to internal.hAnton Khirnov2012-02-292-5/+6
| | | | | | | | | | | | it will be useful for attached pictures in ID3v2
| * | swfdec: do not set codec timebase.Anton Khirnov2012-02-291-2/+0
| | | | | | | | | | | | | | | | | | It is not supposed to be set outside of lavc. Fixes a divide by zero when the stored framerate is 0.
| * | prores: store and retrieve extended colourspace informationKostya Shishkov2012-02-294-5/+9
| | | | | | | | | | | | Based on the patch by Phil Barrett.
| * | proresenc: correct edge emulationPhil Barrett2012-02-291-7/+7
| | | | | | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * | prores: handle 444 chroma in right orderKostya Shishkov2012-02-293-27/+55
| | | | | | | | | | | | | | | | | | | | | ProRes codes chroma blocks in 444 mode in different order than luma blocks, so make both decoder and encoder read/write chroma blocks in right order. Reported by Phil Barrett
| * | mpegvideo_enc: add quantizer_noise_shaping private option.Anton Khirnov2012-02-294-11/+17
| | | | | | | | | | | | Deprecate corresponding AVCodecContext field.
| * | lavc: deprecate AVCodecContext.inter_threshold.Anton Khirnov2012-02-293-4/+9
| | | | | | | | | | | | It's unused.
| * | lavc: deprecate AVCodecContext.color_table_id.Anton Khirnov2012-02-294-4/+12
| | | | | | | | | | | | | | | It's currently only used as temporary storage by the mov demuxer. Make it use a local variable instead.
| * | avplay: remove an unused variable.Anton Khirnov2012-02-291-1/+0
| | |
| * | mpegvideo_enc: add chroma/luma_elim_threshold private options.Anton Khirnov2012-02-297-10/+18
| | | | | | | | | | | | Deprecate corresponding AVCodecContext fields.
| * | mpegvideo_enc: add cbp_rd flag to mpv_flags.Anton Khirnov2012-02-296-7/+14
| | | | | | | | | | | | Deprecate CODEC_FLAG_CBP_RD.
| * | mpegvideo_enc: add qp_rd flag to mpv_flags.Anton Khirnov2012-02-295-12/+21
| | | | | | | | | | | | Deprecate CODEC_FLAG_QP_RD.
| * | mpegvideo_enc: add strict_gop flag to mpv_flags.Anton Khirnov2012-02-294-3/+9
| | | | | | | | | | | | Deprecate CODEC_FLAG2_STRICT_GOP.
| * | lavc: add -mpv_flags to mpegvideo_enc-based encoders.Anton Khirnov2012-02-2911-2/+68
| | | | | | | | | | | | | | | Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags flag.
| * | aacdec: Support stereo streams that erroneously signal predefined channel ↵Michael Niedermayer2012-02-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration 1 (mono). [alex.converse@mgail.com] Move code to get_che() Update for AAC new channel configuration interface Only set chan_config if output_configure succeeds. Signed-off-by: Alex Converse <alex.converse@gmail.com>
| * | aacdec: Reshuffle functions so get_che() can call ↵Alex Converse2012-02-281-70/+70
| | | | | | | | | | | | set_default_channel_config() and output_configure().
| * | vp56: error out on invalid stream dimensions.Ronald S. Bultje2012-02-282-1/+10
| | | | | | | | | | | | | | | | | | | | | Prevents crashes when playing corrupt vp5/6 streams. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | asf: don't seek back on EOF.Ronald S. Bultje2012-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Seeking back on EOF will reset the EOF flag, causing us to re-enter the loop to find the next marker in the ASF file, thus potentially causing an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | asf: error out on ridiculously large minpktsize values.Ronald S. Bultje2012-02-281-1/+5
| | | | | | | | | | | | | | | | | | | | | They cause various issues further down in demuxing. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | | lavc: fix 10l oversight in realloc of avcodec_encode_video2.Michael Niedermayer2012-02-291-1/+1
| | | | | | | | | | | | | | | | | | Packets are not guranteed to be allocated by av_malloc(). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dca: dont overread dca_default_coeffs.Michael Niedermayer2012-02-291-0/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dca: Check scale_sum.Michael Niedermayer2012-02-291-2/+14
| | | | | | | | | | | | | | | | | | | | | Fixes a out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dca: Check LFEScaleIndex.Michael Niedermayer2012-02-291-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Its not clear from the spec what to do with values larger than 127 so iam opting for the safe side and ask for a sample. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | encode_video2: shrink packet after encoding.Nicolas George2012-02-291-0/+7
| | | | | | | | | | | | | | | | | | | | | With the encode2 API, encoders allocate huge packets to be sure they have enough room (a typical case is mpeg4, which allocs ~10M for 1280x768 yuv420p) but only actually use a very small part of the buffer.
* | | fate: disable deshake test as it isnt binary identical across archs.Michael Niedermayer2012-02-292-2/+0
| | | | | | | | | | | | | | | | | | probably due to float rounding Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vmnc: Fail if bpp is not recognized instead of crashing.Michael Niedermayer2012-02-291-0/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | get_buffers: Check that pix_fmt is not NONE.Michael Niedermayer2012-02-293-3/+3
| | | | | | | | | | | | | | | | | | | | | This is somewhat redundant as no decoder should call get_buffer() with such argument. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | alsdec: Check that quantized parcor coeffs are within range.Michael Niedermayer2012-02-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ALS spec: 11.6.3.1.1 Quantization and encoding of parcor coefficients ... In all cases the resulting quantized values ak are restricted to the range [-64,63]. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | libpostproc: fix out of array accesses detected by AddressSanitizer.Michael Niedermayer2012-02-291-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vf_deshake: try to fix memleakMichael Niedermayer2012-02-291-0/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | fate: switch lavfi-pp targets which need bitexact flags to use them.Michael Niedermayer2012-02-296-10/+10
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | libpostproc: add bitexact mode, which is needed for regression testing.Michael Niedermayer2012-02-292-2/+6
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | fate: More libpostproc tests to improve coverage.Michael Niedermayer2012-02-296-0/+10
| | | | | | | | | | | | | | | Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | cook: avoid out of global array read.Michael Niedermayer2012-02-291-12/+29
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-2914-77/+76
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: adpcm: Clip step_index values read from the bitstream at the beginning of each frame. oma: don't read beyond end of leaf_table. doxygen: Remove documentation for non-existing parameters; misc small fixes. Indeo3: fix crashes on corrupt bitstreams. msmpeg4: Replace forward declaration by proper #include. segment: implement wrap around avf: reorder AVStream and AVFormatContext aacdec: Remove erroneous reference to global gain from the out of bounds scalefactor error message. Conflicts: libavcodec/indeo3.c libavformat/avformat.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | adpcm: Clip step_index values read from the bitstream at the beginning of ↵Alex Converse2012-02-281-7/+7
| | | | | | | | | | | | | | | | | | each frame. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * | oma: don't read beyond end of leaf_table.Ronald S. Bultje2012-02-281-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | doxygen: Remove documentation for non-existing parameters; misc small fixes.Diego Biurrun2012-02-288-18/+3
| | |
| * | Indeo3: fix crashes on corrupt bitstreams.Ronald S. Bultje2012-02-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Splits at borders of cells are invalid, since it leaves one of the cells with a width/height of zero. Also, propagate errors on buffer allocation failures, so we don't continue decoding (which crashes). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | msmpeg4: Replace forward declaration by proper #include.Diego Biurrun2012-02-281-3/+1
| | |
| * | segment: implement wrap aroundLuca Barbato2012-02-282-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Provide a way to wrap around the segment index so pseudostreaming live through a web server and html5 browser is simpler. Also ensure that 0 (disable) is a valid value across the options providing wrap around.
| * | avf: reorder AVStream and AVFormatContextLuca Barbato2012-02-281-34/+38
| | |
| * | aacdec: Remove erroneous reference to global gain from the out of bounds ↵Alex Converse2012-02-271-2/+1
| | | | | | | | | | | | scalefactor error message.
* | | adpcm_xa: Check filter validity.Michael Niedermayer2012-02-281-0/+8
| | | | | | | | | | | | | | | | | | | | | Fixes out of global array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mxfdec: set pixel format for cdci picture formatsPhilip de Nier2012-02-283-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The properties of the CDCI Descriptor are insufficient to specify the pixel format for uncompressed picture data. SMPTE 377-1 and RP224v10 have defined a set of picture coding labels to indicate what formatting was used. This patch uses 2 labels to detect UYVY422 or YUYV422 pixel formats. It defaults to UYVY422 for 8-bit 4:2:2 pictures to support files that were created before the coding labels were introduced ~2008 The codec pix_fmt default was changed from 0 (PIX_FMT_YUV420P) to -1 (PIX_FMT_NONE) Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mxfdec: detect uncomp pictures using essence container ulPhilip de Nier2012-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This supports detection of uncompressed picture in files that didn't include a Picture Coding Label. The lables weren't available until SMPTE 377-1 and RP224v10 Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mxf: add uncompressed 422 8-bit rawvideo labelPhilip de Nier2012-02-281-0/+1
| | | | | | | | | | | | | | | Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mxfdec: set track edit rate num/den in expected orderPhilip de Nier2012-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | This matches the order used for the index table edit rate. Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>