summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* nellymoserenc: fix array element orderingMichael Niedermayer2014-11-13
| | | | | | | Fixes assertion failures and valgrind warnings in trellis encoder. CC: libav-stable@libav.org Bug-Id: CID 732256 / CID 732257
* libopusenc: prevent an out-of-bounds read by returning earlyVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1244188
* libopusenc: check return valueVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 739870
* vp7: fix checking vp7_feature_value_size()Michael Niedermayer2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1197061
* 4xm: more thorought check for negative index and negative shiftVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1087094
* tiff: Use av_mallocz_arrayLuca Barbato2014-11-11
| | | | CC: libav-stable@libav.org
* opt: Fix the documentation mentioning av_set_string3Luca Barbato2014-11-11
| | | | It is av_opt_set now.
* h264_parser: don't stop on SPS_EXT in splitJohn Stebbins2014-11-11
| | | | | Add SPS_EXT, SEI, and subset SPS to codes that are skipped during split. These codes can come before the PPS and results in incomplete extradata.
* h264_cabac: fix one fill_rectangle() indentation levelMichael Niedermayer2014-11-11
| | | | Bug-Id: CID 1087088
* png_parser: fix size of chunk_lenghtVittorio Giovara2014-11-11
| | | | | | | Fixes the comparison against constant value 0x7fffffff. CC: libav-stable@libav.org Bug-Id: CID 1198260
* dvbsubdec: move shared codepathVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238839
* dvbsubdec: improve error checkingVittorio Giovara2014-11-11
| | | | | | | | | Use av_mallocz_array instead of iterating and check the returned memory. Check returned memory and cleanly exit in case of error during the loop. Avoid a null pointer dereference for invalid data. CC: libav-stable@libav.org Bug-Id: CID 29575
* dvbsubdec: add missing breakJernej Fijačko2014-11-11
| | | | | | | Fix a memory leak too. CC: libav-stable@libav.org Bug-Id: CID 732230
* hevc_cabac: decrease CABAC_MAX_BINMichael Niedermayer2014-11-11
| | | | | | | Prevents shifts with undefined behavior, as no syntax element has a valid value greater than 1 << 31. Bug-Id: CID 1206635
* hevc_mvs: prevent unitialized useVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1244202
* 4xm: drop unnecessary checkVittorio Giovara2014-11-11
| | | | | | | data_size is always >= 0 in this case. CC: libav-stable@libav.org Bug-Id: CID 1238788
* hpeldsp: Increase put_no_rnd_pixels_tab[][] sizeMichael Niedermayer2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 991852
* mjpegenc: fix argument size in encode_mbVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1047235
* mpegvideo: fix size of arrayVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238789
* mpegvideo: check mpv return valueVittorio Giovara2014-11-11
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238786
* mpeg12enc: increase declared size of block function argumentMichael Niedermayer2014-11-11
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1047236 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libavcodec: Unconditionally build xiph.oMartin Storsjö2014-11-11
| | | | | | | | | vorbis_parser.o is built unconditionally since 5e80fb7ff, and the unconditionally built parts of it depend on xiph.o. This fixes builds with --disable-everything. Signed-off-by: Martin Storsjö <martin@martin.st>
* v4l2: Unify one instance of reading/storing errnoMartin Storsjö2014-11-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Support building with the latest version of fdk-aacMartin Storsjö2014-11-10
| | | | | | | | | | | | | | The latest fdk-aac code drop (from android 5.0) changed the channel layout enums (changing the value of existing enum constants), and renamed the option for downmixing. The failsafe comparison between ctype and FF_ARRAY_ELEMS(channel_counts) can trigger warnings (-Wtautological-constant-out-of-range-compare) when building with the old FDK AAC releases, where it can't be out of range with the enum values used there. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* v4l2: Preserve errno valuesLuca Barbato2014-11-09
| | | | av_log usually resets it.
* v4l2: Use av_strerrorTristan Matthews2014-11-09
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Compact the side-data passthroughLuca Barbato2014-11-09
|
* movenc: Require samples before trying to write edtsMartin Storsjö2014-11-08
| | | | | | | This avoids a potential crash if writing a fragmented psp mp4 (which probably is only a hypothetical scenario). Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Avoid leaking locally allocated data when returning on errorsMartin Storsjö2014-11-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Remove an outdated commentMartin Storsjö2014-11-08
| | | | | | | QuickTime does support files with an empty initial movie these days. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Write correct presentation timestamps in tfraMartin Storsjö2014-11-07
| | | | | | | Previously we wrote decoding timestamps here, while the specs say it should be presentation timestamps. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Remove a now redundant checkMartin Storsjö2014-11-07
| | | | | | | | | | When using the new first_trun flag instead of checking the track id, we don't need to have a special case for the separate_moof flag any longer. This simplifies the complicated codepath ever so slightly. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Allow to request not to use edit listsMartin Storsjö2014-11-07
| | | | | | | | | | | | | | | | | | | In this case, shift tracks to start from zero instead (potentially stretching the first sample in tracks that start later than the first one). Some software does not support edit lists at all, the adobe flash player seems to be one of these. This results in AV sync errors when edit lists are used to adjust AV sync. Some players, such as QuickTime, don't respect the duration for audio packets, so if an audio track starts later than the video track and the first audio sample gets a duration longer than the actual amount of data in it, the result will be out of sync. Based on patches by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Print a warning if failed to avoid negative timestamps when requestedMichael Niedermayer2014-11-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Add an option for avoiding negative timestampsMichael Niedermayer2014-11-07
| | | | | | | | | | | This is the same logic as is invoked on AVFMT_TS_NEGATIVE, but which can be enabled manually, or can be enabled in muxers which only need it in certain conditions. Also allow using the same mechanism to force streams to start at 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Mark some character handling functions av_constHenrik Gramner2014-11-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mjpegdec: fix undefined shiftVittorio Giovara2014-11-06
| | | | | | | Add a comment to explain the code. CC: libav-stable@libav.org Bug-Id: CID 1194388
* pthreads_frame: Do not leak on failure pathLuca Barbato2014-11-06
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1135767 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpeg12dec: simplify context duplicationVittorio Giovara2014-11-06
| | | | | CC: libav-stable@libav.org Bug-Id: CID 717453 / CID 717454 / CID 717915
* mpeg12enc: factor out check in encode_dcVittorio Giovara2014-11-06
| | | | | | | Makes coverity less confused and the code more readable. CC: libav-stable@libav.org Bug-Id: CID 751744
* mpegvideo_enc: factor out denominator and explicitly cast operandsVittorio Giovara2014-11-06
| | | | | CC: libav-stable@libav.org Bug-Id: CID 608053
* mpegvideo_enc: rework direct mode checkVittorio Giovara2014-11-06
| | | | | | | Remove stray semicolon and share codepaths. CC: libav-stable@libav.org Bug-Id: CID 991857
* nutdec: do not set has_b_framesAnton Khirnov2014-11-06
| | | | It is not supposed to be set by demuxers.
* lavc: make avpriv_flac_is_extradata_valid() private on the next bumpAnton Khirnov2014-11-06
|
* oggenc: accept only STREAMINFO extradataAnton Khirnov2014-11-06
| | | | | The reasoning is the same as for 0097cbea695e534fce39958ccd103af2fbf65831.
* lavc: make avpriv_flac_parse_streaminfo() private on the next bumpAnton Khirnov2014-11-06
|
* lavf: stop using avpriv_flac_parse_streaminfo()Anton Khirnov2014-11-06
| | | | | | The only parameters needed by the demuxers are the sample rate and sample count, which can be trivially extracted manually, without resorting to an avpriv function.
* riffenc: do not fall back on AVCodecContext.frame_size for MP3Anton Khirnov2014-11-06
| | | | | | | It will not be set unless the codec context is used as the encoding context, which is discouraged. For MP2, av_get_audio_frame_duration() will already set the frame size properly. For MP3, set the frame size explicitly.
* lavf: use the format context strict_std_compliance instead of the codec oneAnton Khirnov2014-11-06
|
* lavc,lavf: switch to the new vorbis parse APIAnton Khirnov2014-11-06
|