summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* nutdec: check av_new_packet return valueVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 733713
* nutenc: check for negative index rather than assertVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 703721
* rmdec: stricter error check to avoid theoretical unitialized useVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 90558
* rmdec: check av_new_packet return valueVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 733714
* flvdec: make sure to check create_stream and report the same errorVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732242
* flvdec: avoid unitialized use of a struct memberVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 718141
* smoothstreamingenc: explict cast to avoid overflowVittorio Giovara2014-10-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732248
* fate-mpeg4: use TARGET_SAMPLES for resize testsJanne Grunau2014-10-21
|
* rtpproto: Free the addrinfo pointer on failureLuca Barbato2014-10-20
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238797
* nutdec: Prevent a memory corruptionLuca Barbato2014-10-20
| | | | | | Chapters do not have an event_flags field. Bug-Id: CID 1231990
* rtpdec_hevc: drop unnecessary checkVittorio Giovara2014-10-20
| | | | | | len is always >=1 in that case. Bug-Id: CID 1238784
* rtmpproto: remove dead codeVittorio Giovara2014-10-20
| | | | | | | Expression already evaluated before, redundant since 053386864219eccbcca1886c55f902f9555428a5. Bug-Id: CID 732199
* vf_format: check input validityVittorio Giovara2014-10-20
| | | | CC: libav-stable@libav.org
* wtv: clean memory on errorVittorio Giovara2014-10-20
| | | | | CC: libav-stable@libav.org Bug-Id: CID 718002
* wtv: check seek_by_sector return valueVittorio Giovara2014-10-20
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1198258
* aviobuf: check context before using itVittorio Giovara2014-10-20
| | | | | | | Avoid a possible null pointer dereference. CC: libav-stable@libav.org Bug-Id: CID 1135769
* avio: fix sizeof argumentMichael Niedermayer2014-10-20
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732284
* idcin: fix return checkVittorio Giovara2014-10-20
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732198
* rtmp: Always call rtmp_close() on rtmp_open() failureAlexander Drozdov2014-10-18
| | | | | | | | | | | | | Prevent possible memory leaks. Connect to nginx and request a non-existent resource to trigger the issue. CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Uwe L. Korn <uwelk@xhochy.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: fix sign extensions in yuv planar conversionVittorio Giovara2014-10-18
| | | | | | | | | | Casting the left-most byte to unsigned avoids an undefined result of the shift by 24 if bit 7 is set. yuvPlanartouyvy_c and yuvPlanartoyuy2_c are affected. CC: libav-stable@libav.org Bug-Id: CID 732281 / CID 732282
* oss_audio: use a macro to simplify ioctl() error checkingTimothy Gu2014-10-18
| | | | | | | | | Also add a note about SNDCTL_DSP_GETFMTS which may fail even if OSS is available. CC: libav-stable@libav.org Bug-Id: CID 1238992 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avresample: Make sure the even check does not overflowLuca Barbato2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732225
* avresample: prevent theoretical division by zeroVittorio Giovara2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1231986
* af_resample: check av_opt_set_dict return valueVittorio Giovara2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1087076
* vf_showinfo: Forward the av_image_get_linesize errorVittorio Giovara2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1087086
* vf_drawtext: Do not leak the mmapped textfileLuca Barbato2014-10-18
| | | | | | | And validate its size while at it. CC: libav-stable@libav.org Bug-Id: CID 1244189
* lavc: make lmax/lmin into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make border_masking into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: deprecate unused mb_threshold fieldAnton Khirnov2014-10-18
|
* libvpxenc: add static-thresh private optionAnton Khirnov2014-10-18
| | | | | | | | Currently, this option is accessed through AVCodecContext.mb_threshold, which originally controlled reusing MB data when transcoding mpeg to mpeg. Since the libvpx meaning is completely different from the original mpegvideo meaning, it is better to use a separate private option for this.
* lavc: deprecate unused me_threshold fieldAnton Khirnov2014-10-18
|
* lavc: make rc_buffer_aggressivity/rc_initial_cplx into private options of ↵Anton Khirnov2014-10-18
| | | | mpegvideo encoders
* lavc: make rc_eq into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_qmod_* into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_qsquish a private option of mpegvideo encodersAnton Khirnov2014-10-18
|
* resample: Avoid off-by-1 errors in PTS calcs.Timothy B. Terriberry2014-10-18
| | | | | | | | | | | The rounding used in the PTS calculations in filter_frame() does not actually match the number of samples output by the resampler. This leads to off-by-1 errors in the timestamps indicating gaps and underruns, even when the input timestamps are all contiguous. Bug-Id: 753 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* urlprotocol: remove unused url_interrupt_cb declarationAnton Khirnov2014-10-18
| | | | It is a remnant of the old interrupt callback API.
* rtmpproto: Add pause supportUwe L. Korn2014-10-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Track last received timestampUwe L. Korn2014-10-17
| | | | | | | | Some RTMP commands need the most recent timestamp as their parameter, so keep track of it. This must be the most recent one and not e.g. the max received timestamp as it can decrease again through seeking. Signed-off-by: Martin Storsjö <martin@martin.st>
* dump: display codec tags when availableVittorio Giovara2014-10-17
| | | | For both audio and video.
* libfdk-aacdec: Enable Dynamic Range Control Metadata SupportOmer Osman2014-10-17
| | | | | | | | | | For streams which contain DRC metadata, the FDK decoder is able to control rendering of the decoded output. The rendering parameters are detailed in fdk_aac_dec_options []. The default behavior is left up to the decoder. Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Enable Decoder Downmix including Downmix Metadata SupportOmer Osman2014-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | The FDK decoder is capable of producing mono and stereo downmix from multichannel streams. These streams may contain metadata that control the downmix process. The decoder requires an Ancillary Buffer in order to correctly apply downmix in streams containing downmix Metadata. The decoder does not have an API interface to inform of the presence of Metadata in the stream, and therefore the Ancillary Buffer is always allocated whenever a downmix is requested. When downmixing multichannel streams, the decoder requires the output buffer in aacDecoder_DecodeFrame call to be of fixed size in order to hold the actual number of channels contained in the stream. For example, for a 5.1ch to stereo downmix, the decoder requires that the output buffer is allocated for 6 channels, regardless of the fact that the output is in fact two channels. Due to this requirement, the output buffer is allocated for the maximum output buffer size in case a downmix is requested (and also during decoder init). When a downmix is requested, the buffer used for output during init will also be used for the entire duration the decoder is open. Otherwise, the initial decoder output buffer is freed and the decoder decodes straight into the output AVFrame. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Add getStreamLength call to query durationUwe L. Korn2014-10-17
| | | | | | | | | | In (non-live) streams with no metadata, the duration of a stream can be retrieved by calling the RTMP function getStreamLength with the playpath. The server will return a positive duration upon the request if the duration is known, otherwise either no response or a duration of 0 will be returned. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Add function to read a number responseUwe L. Korn2014-10-17
| | | | | | | | | Packets that contain a number as a result to a rtmp function call are structured the same way (String, Number, Null, Number). This new method also includes more bounds checks to better handle packets that are not structured as expected. Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Use the correct guardLuca Barbato2014-10-17
| | | | | | | The OptionDef arrays are terminated with a { NULL } element not NULL. CC: libav-stable@libav.org Bug-Id: CID 703769
* avformat: Make avformat_free_context handle NULLLuca Barbato2014-10-17
| | | | | | | Work as the other free()-like functions. Bug-Id: CID 1087081 CC: libav-stable@libav.org
* avconv: check return valueVittorio Giovara2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1224275
* avconv: fix leak in filter errorVittorio Giovara2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1005311
* avprobe: Remove a pointless checkLuca Barbato2014-10-17
| | | | | | | The element is always valid. CC: libav-stable@libav.org Bug-Id: CID 732276
* avplay: Always free optsLuca Barbato2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 733793