summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mp3enc: write full LAME frameAnton Khirnov2014-10-24
| | | | Most importantly, it contains the encoder delay and replaygain info.
* avconv: copy stream-level side data when streamcopyingAnton Khirnov2014-10-24
|
* doc: reword the mp3 muxer documentationAnton Khirnov2014-10-24
| | | | Make it more structured.
* mp3dec: fix reading the Xing tagAnton Khirnov2014-10-24
| | | | | | | The quality scale field is only supposed to be present if the fourth bit is set. In practice, lame always sets it, but other tools might not. CC:libav-stable@libav.org
* lavf: Use av_gettime_relativeMartin Storsjö2014-10-24
| | | | | | | | | The ones left using av_gettime are NTP timestamps (for RTCP, which is specified to send the actual current realtime clock in RTCP SR packets), and the NUT muxer timestamper, which is documented as using wallclock time. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Use av_gettime_relativeMartin Storsjö2014-10-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Use av_gettime_relativeMartin Storsjö2014-10-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tools: Use av_gettime_relativeOlivier Langlois2014-10-24
| | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Use av_gettime_relativeOlivier Langlois2014-10-24
| | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: Add av_gettime_relativeMartin Storsjö2014-10-24
| | | | | | | | | | | | | | | | | | | Since av_gettime() is used in a number of places where actual real time clock is required, the monotonic clock introduced in ebef9f5a5 would have consequences that are hard to handle. Instead split it into a separate function that can be used in the cases where only relative time is desired. On platform where no monotonic clock is available, the difference between the two av_gettime functions is not clear, and one could mistakenly use the relative clock where an absolute one is required. Therefore add an offset, to make it evident that the time returned from av_gettime_relative never is actual current real time, even though it is based on av_gettime. Based on a patch by Olivier Langlois. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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.