summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mem: fix pointer pointer aliasing violationsRémi Denis-Courmont2015-02-01
| | | | | | | | | This uses explicit memory copying to read and write pointer to pointers of arbitrary object types. This works provided that the architecture uses the same representation for all pointer types (the previous code made that assumption already anyway). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ogg: Provide an option to offset the serial numberLuca Barbato2015-02-01
| | | | | The ogg serial number doubles as codec id and sequence value for concatenated samples.
* hqdn3d: check memory allocations and propagate errorsVittorio Giovara2015-01-29
|
* flacenc: initialize sums matrixVittorio Giovara2015-01-29
| | | | | CC: libav-stable@libav.org Bug-Id: CID 703821
* ituh263dec: use macro instead of #ifVittorio Giovara2015-01-29
|
* yuv4mpegdec: initialize field_order in yuv4_read_header()Vittorio Giovara2015-01-29
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265721
* mpegvideo_enc: initialize the encoding contextVittorio Giovara2015-01-29
| | | | | | | | This prevents several uninitialized variable uses that take place towards the end of encoding. CC: libav-stable@libav.org Bug-Id: CID 700760
* DNxHD: Add support for id 1258 (DNx100 960x720@8)Vittorio Giovara2015-01-29
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* DNxHD: Simplify pixel format detectionVittorio Giovara2015-01-29
| | | | Error out in case of unknown values.
* DNxHD: More verbose error messagesVittorio Giovara2015-01-29
|
* lavu: Check av_dict_set allocationsLuca Barbato2015-01-29
| | | | | Bug-Id: CID 1257772 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libopenh264: Log debug messages to a non-null contextMartin Storsjö2015-01-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Do not share rbsp_buffer across threadsMichael Niedermayer2015-01-28
| | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
* avio: Do not consider the end-of-buffer position validLuca Barbato2015-01-28
| | | | | | | | | | | | | | Trigger a refill if the seek action moves the pointer at the end of the buffer. Before this patch the read action following the seek would trigger the refill, while write action would write outside the buffer. In the Libav codebase few muxers seek forward outside of what already has been written so it is quite unlikely to experience the problem with the default buffer size. CC: libav-stable@libav.org
* libdc1394: Add support for MONO8 (gray) video modeClay McClure2015-01-28
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libopencv: Rework error handling in parse_iplconvkernel()Vittorio Giovara2015-01-27
| | | | | | | Fix 'values' memory leak in case of error. CC: libav-stable@libav.org Bug-Id: CID 739879
* dvbsubdec: check memory allocations and propagate errorsVittorio Giovara2015-01-27
|
* nuv: validate image sizeVittorio Giovara2015-01-27
| | | | | | | Avoid a division by zero. CC: libav-stable@libav.org Bug-Id: CID 717750
* nsvdec: validate channels and samplerateVittorio Giovara2015-01-27
| | | | | | | Avoid a division by zero. CC: libav-stable@libav.org Bug-Id: CID 717749
* lavc: support extracting audio service type from side dataAnton Khirnov2015-01-27
|
* mov: export audio service type as side dataAnton Khirnov2015-01-27
|
* lavf: add a convenience function for adding side data to a streamAnton Khirnov2015-01-27
|
* Add a side data type for audio service type.Anton Khirnov2015-01-27
| | | | | Currently, audio service type is a field in AVCodecContext. However, side data is more appropriate for this kind of information.
* nutenc: do not use has_b_framesAnton Khirnov2015-01-27
| | | | | It is unreliable, especially when the stream codec context is not the encoding context. Use the codec descriptor properties instead.
* lavc: deprecate unused AVCodecContext.stream_codec_tagAnton Khirnov2015-01-27
|
* avidec: do not export stream_codec_tagAnton Khirnov2015-01-27
| | | | Handle its only existing use case internally.
* h264: drop any pretense of support for data partitioningAnton Khirnov2015-01-27
| | | | | | | | | | It does not work correctly and apparently never did. There is no indication that this (mis)feature is ever used in the wild or even that any software other than the reference supports it. Since the code that attempts to support it adds some nontrivial complexity and has resulted in several bugs in the past, it is better to just drop it.
* h264_parser: restore a comment lost in 0268a54Anton Khirnov2015-01-27
|
* h264: do not reset the ref lists in flush_change()Anton Khirnov2015-01-27
| | | | | They are always constructed anew when needed, so there is no need to reset them explicitly.
* h264: move parser-only variables to their own contextAnton Khirnov2015-01-27
|
* error_resilience: move the MECmpContext initialization into ER codeAnton Khirnov2015-01-27
| | | | | | | Currently, it needs to be initialized by the ER caller (which is currently either a mpegvideo decoder or h264dec). However, since none of those decoders use MECmpContext for anything except ER, it makes more sense to handle it purely inside ER.
* avconv_dxva2: add hevc supportHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add DXVA2 HEVC HWAccelHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: reindent after previous commitHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: add hwaccel hooksHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store the short term rps flag and size in the contextHendrik Leppkes2015-01-27
| | | | | | For future use by hardware accelerators. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store the escaped/raw bitstream in HEVCNALHendrik Leppkes2015-01-27
| | | | | | Hardware Accelerators require access to the escaped bitstream. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: pass the full HEVCNAL struct to decode_nal_unitHendrik Leppkes2015-01-27
| | | | | | | This enables decode_nal_unit to access additional fields added in subsequent commits. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* examples/transcode_aac: generate proper PTS and set the muxer timebaseAndreas Unterweger2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* examples/transcode_aac: fix a typoAndreas Unterweger2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* examples/transcode_aac: properly select the output sample formatAndreas Unterweger2015-01-27
| | | | | | Makes the example work with all the supported AAC encoders. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: unref the current frame if frame_start() failsAnton Khirnov2015-01-27
| | | | Prevents DPB from filling up with damaged input.
* hevc: clear unused refs on failureAnton Khirnov2015-01-27
|
* h264: simplify code in flush_dpb()Anton Khirnov2015-01-27
| | | | | There is no point in clearing reference explicitly, since that will be done as a part of ff_h264_unref_picture() right below.
* segment: Check av_get_frame_filename() return valueVittorio Giovara2015-01-23
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265713
* hlsproto: Properly close avio buffer in case of errorVittorio Giovara2015-01-23
| | | | | | | Fix a memory leak. CC: libav-stable@libav.org Bug-Id: CID 717999
* mov: Do not compute negative SAR valuesVittorio Giovara2015-01-23
| | | | | | | | This partially reverts cf70ba37ba74089a18295b29e77dead0a3222c9e, since it didn't take into account when rotation is 0, but there is another valid operation (eg. translation) in the matrix. Found-by: Michael Niedermayer <michaelni@gmx.at>
* mpegvideo_enc: Draw edges on input for non-multiple of 16 resolutionsMichael Niedermayer2015-01-23
| | | | | | | | | | | | This improves motion estimation and avoids using uninitialized data for resolutions that aren't a multiple of 16. Prior to d2a25c40, the edges used to be initialized so that encoding was deterministic, but after that commit it started using uninitialized data (for non multiple of 16 resolutions). CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rtspdec: Consistently use rtsp_hd_out for writingMartin Storsjö2015-01-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libx265: Pass through user-set frame typeDerek Buitenhuis2015-01-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>