summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | avcodec/cuvid: fail early if GPU can't handle video resolutionPavel Koshevoy2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CUVID on GeForce GT 730 and GeForce GTX 1060 does not report any error when decoding 8K h264 packets. However, it does return an error during cuvidCreateDecoder call if the indicated video resolution is not supported. Given that stream resolution is typically known as a result of probing it is better to use this information during avcodec_open2 call to fail immediately, rather than proceeding to decode and never receiving any frames from the decoder nor receiving any indication of decode failure. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | hwcontext_cuda: implement frames_get_constraintswm42017-01-23
| | | | | | | | Copied and modified from hwcontext_qsv.c.
* | lavf/segment: fix crash when failing to open segment listRodger Combs2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens because segment_end() returns an error, so seg_write_packet never proceeds to segment_start(), and seg->avf->pb is never re-set, so we crash with a null pb when av_write_trailer flushes the packet queue. This doesn't seem to be clearly recoverable, so I'm just failing more gracefully. Repro: ffmpeg -i input.ts -f segment -c copy -segment_list /noaxx.m3u8 test-%05d.ts (assuming you don't have write access to /)
* | avcodec/pngdec: Fix off by 1 size in decode_zbuf()Michael Niedermayer2017-01-23
| | | | | | | | | | | | | | | | Fixes out of array access Fixes: 444/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_PNG_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/error_resilience: update indention after last commitMichael Niedermayer2017-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/error_resilience: Optimize motion recovery code by using blcok listsMichael Niedermayer2017-01-22
| | | | | | | | | | | | | | | | | | | | | | | | This makes the code 7 times faster with the testcase from libfuzzer and should reduce the amount of timeouts we hit in automated fuzzing. (for example 438/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_RV40_fuzzer) The code is also faster with more realistic input though the difference is small here as that is far from the worst cases the fuzzers pick out Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffplay: fix indentation after last commitMarton Balint2017-01-22
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | ffplay: do not preallocate video textureMarton Balint2017-01-22
| | | | | | | | | | | | Since the uploads happen in the main display function, it does not matter much. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat: add MIDI Sample Dump Standard demuxerPaul B Mahol2017-01-22
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/ac3dec: add consistent noise generation option.Jonathan Campbell2017-01-22
| | | | | | | | | | | | | | use av_lfg_init_from_data() to seed AC-3 dithering from the AC-3 frame data to make it consistent given the same AC-3 frame, if option is set. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavutil: add av_lfg_init_from_data() functionJonathan Campbell2017-01-22
| | | | | | | | | | | | seeds an AVLFG from binary data. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_hdcd: Fix leak of memory allocated by ff_make_format_list()Michael Niedermayer2017-01-22
| | | | | | | | | | | | Fixes CID1396265 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vaapi_mpeg4: Restore changes overwritten by mergeMark Thompson2017-01-22
| | | | | | | | From 2aa8e33d7d86fbc4a4060c363a5733067c160654.
* | avfilter/avf_showspectrum: Fix memleak of text allocated by av_asprintf()Michael Niedermayer2017-01-21
| | | | | | | | | | | | Fixes CID1396261 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_palettegen: Fix leak and simplify codeMichael Niedermayer2017-01-21
| | | | | | | | | | | | Fixes CID1270818 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/fraps: add support for PAL8Paul B Mahol2017-01-21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: Add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM to most h263 based codecsMichael Niedermayer2017-01-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avfiltergraph: Add assert to write down in machine readable form ↵Michael Niedermayer2017-01-21
| | | | | | | | | | | | | | | | what is assumed about sample rates in swap_samplerates_on_filter() Fixes CID1397292 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/h264dec: re-indent after previous commitMatthieu Bouron2017-01-20
| |
* | lavc/h264dec: make sure a slice is decoded before finishing setupMatthieu Bouron2017-01-20
| | | | | | | | | | Fixes regression in fate-h264-attachment-631 with THREADS=8 introduced by bdbbb8f11edbf10add874508c5125c174d8939be.
* | avformat/wavdec: enable seeking with XMA2Paul B Mahol2017-01-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/wmaprodec: add xma_flush for seeking in XMA2Paul B Mahol2017-01-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add XMA2 parserPaul B Mahol2017-01-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/wmaprodec: unbreak XMA mono decodingPaul B Mahol2017-01-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/atrac3: allow 6 channels (non-joint stereo)bnnm2017-01-20
| | | | | | | | | | | | | | | | Raises max channels to 6 (for non joint-stereo only), there is no difference decoding 1 or N discrete channels. Fixes trac issue #5840 Signed-off-by: bnnm <bananaman255@gmail.com>
* | dcaenc: Use Huffman codes for Bit Allocation IndexDaniil Cherednik2017-01-20
| | | | | | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avcodec/nvenc: add logging for more error casesTimo Rothenpieler2017-01-20
| |
* | avcodec/nvenc: make gpu indices independend of supported capabilitiesTimo Rothenpieler2017-01-20
| |
* | avformat/hlsenc: fix too many open files bugSteven Liu2017-01-20
| | | | | | | | | | | | | | | | When use http method to delete the old segments, there is only io_open, hove not io_close yet, this patch is used to fix it Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avcodec/exr: export writer info into frame metadataPaul B Mahol2017-01-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/exr: make it aware of 2 additional compressionsPaul B Mahol2017-01-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/avcodec: fix lil typo in commentAleksandr Slobodeniuk2017-01-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/speedhq: Fix warning about "initialization from incompatible pointer ↵Michael Niedermayer2017-01-19
| | | | | | | | | | | | type" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/wmaprodec: check number of channels for XMA streamsPaul B Mahol2017-01-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pixlet: use av_clip_uintp2_c explicitlyPaul B Mahol2017-01-19
| | | | | | | | | | Found-by: Clément Bœsch <u@pkh.me> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pixlet: use av_clip_uintp2()Paul B Mahol2017-01-19
| | | | | | | | | | Found-by: Clément Bœsch <u@pkh.me> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pixlet: clip chroma before shiftingPaul B Mahol2017-01-19
| | | | | | | | | | | | Fixes artifacts. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/wmapro: redone stream selection for XMA1/2Paul B Mahol2017-01-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc/h264: simplify find_unused_picture()Clément Bœsch2017-01-19
| |
* | avformat/caf: add 'aacl' codec tagPiotr Bandurski2017-01-19
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffmpeg: pass output stream duration as a hint to the muxerTobias Rapp2017-01-19
| | | | | | | | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/wmaprodec: >2 channel support for XMAPaul B Mahol2017-01-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter:vf_drawtext: add new line space size set parameterSteven Liu2017-01-19
| | | | | | | | | | | | | | | | add line_spacing parameter to set the space between two lines Based on an idea by: Leandro Santiago <leandrosansilva@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/hlsenc: fix bug of hlsenc http delete old segmentsSteven Liu2017-01-19
| | | | | | | | | | | | | | | | when push hls to http server, the old segemnts can not delete by hls formats. so add the http option into hls_delete_old_segments Reported-by: Yin Jiaoyuan <yinjiaoyuan@163.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | lavc/h264dec: remove flush goto in decode callbackClément Bœsch2017-01-18
| |
* | avformat/hlsenc: remove debug message used error level logSteven Liu2017-01-18
| | | | | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | hwcontext_vdpau: Fix missing subscriptsMark Thompson2017-01-17
| | | | | | | | | | | | Also remove the redundant casts which were hiding the error here. (cherry picked from commit 7081620aca36e616ea96f71fd71d2703e3abae09)
* | lavc: Remove old vaapi decode infrastructureMark Thompson2017-01-17
| | | | | | | | | | | | | | Deprecates struct vaapi_context and the installed header vaapi.h, to be removed at the next version bump. (cherry picked from commit 851960f6f8cf1f946fe42fa36cf6598fac68072c)
* | ffmpeg_vaapi: Convert to use hw_frames_ctx onlyMark Thompson2017-01-17
| | | | | | | | | | | | Most of the functionality here has moved into lavc. (cherry picked from commit 3e8651a7ccd8e89cc2f162cf614a3c9f7f4d9fcf)
* | vaapi_vp9: Convert to use the new VAAPI hwaccel codeMark Thompson2017-01-17
| |