- 28 2月, 2016 13 次提交
-
-
由 Reimar Döffinger 提交于
Check that the required plane pointers and only those are set up. Currently does not enforce anything for the palette pointer of pseudopal formats as I am unsure about the requirements. Signed-off-by: NReimar Döffinger <Reimar.Doeffinger@gmx.de>
-
由 Reimar Döffinger 提交于
We do neither document nor check such a requirement and for application-provided get_buffer2 they could contain the result of a malloc(0) or whatever value they had previously. This fixes a use-after-free in e.g. MPlayer: https://trac.mplayerhq.hu/ticket/2262 We might want to consider changing the (documented) API in addition though. Signed-off-by: NReimar Döffinger <Reimar.Doeffinger@gmx.de>
-
由 Reimar Döffinger 提交于
Reported as https://trac.mplayerhq.hu/ticket/2264 but have not been able to reproduce with FFmpeg-only. I have no idea what coded_height is used for here exactly, so this might not be the best fix. Fixes the following chain of events: ff_mss12_decode_init sets coded_height while not setting height. ff_mpv_decode_init then copies coded_height into MpegEncContext height. This is then used by init_context_frame to allocate the data structures. However the wmv9rects are validated/initialized based on avctx->height, not avctx->coded_height. Thus the decode_wmv9 function will try to decode a larger video that we allocated data structures for, causing out-of-bounds writes. Signed-off-by: NReimar Döffinger <Reimar.Doeffinger@gmx.de>
-
由 Michael Niedermayer 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Syed Andaleeb Roomy 提交于
movenc: Timecode in MP4 Although MP4 does not have a concrete specification to store timecode information, the following technical note from Apple describes a way to achieve this via timecode track, similar to how it is done for MOV files. https://developer.apple.com/library/mac/technotes/tn2174/_index.html - Enabled creation of timecode tracks for MP4 in the same way as MOV. - Used nmhd as media information header of timecode track of MP4 instead of gmhd used in MOV, thus avoiding tcmi also, as recommended above. - Bypassed adding source reference field for MP4, as suggested above. Issue: https://trac.ffmpeg.org/ticket/4704Signed-off-by: NSyed Andaleeb Roomy <andaleebcse@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Andreas Cadhalpun 提交于
The pkg-config file contains all opencv libraries, not only the neccessary ones. This change makes it possible to use the libopencv-imgproc-dev Debian package instead of libopencv-dev, saving about 200 MB of useless build-dependencies. In particular one doesn't need to install the parts of opencv that depend on ffmpeg libraries. Signed-off-by: NAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Reviewed-by: NJames Almer <jamrial@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Michael Niedermayer 提交于
avutil/imgutils: Assert that the 2nd av_image_fill_linesizes() call in av_image_fill_linesizes() still succeeds Fixes CID1271742 Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Rodger Combs 提交于
-
由 Rodger Combs 提交于
This caused issues when seeking in some unusual MPEGTS files
-
由 Rodger Combs 提交于
-
由 Rodger Combs 提交于
-
由 wm4 提交于
This does obviously not work. (Additions based on vf_crop.c.)
-
由 Paul B Mahol 提交于
Signed-off-by: NPaul B Mahol <onemda@gmail.com>
-
- 27 2月, 2016 21 次提交
-
-
由 Clément Bœsch 提交于
-
由 Kieran Kunhya 提交于
Plays all known samples
-
由 Kieran Kunhya 提交于
Fixes some, but not all, of the threading fuzz crashes
-
由 Michael Niedermayer 提交于
This should return an error to the decoder if the struct it tried to getbuffer is dirty Reviewed-by: NReimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Michael Niedermayer 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Clément Bœsch 提交于
It makes easier looking at the difference with the generic code just below.
-
由 Clément Bœsch 提交于
-
由 Vicente Olivert Riera 提交于
We don't know which features are available when the user selects a generic core, so don't disable anything by default and let the user decide. Signed-off-by: NVicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Vicente Olivert Riera 提交于
Signed-off-by: NVicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Mats Peterson 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Mats Peterson 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Paul B Mahol 提交于
Signed-off-by: NPaul B Mahol <onemda@gmail.com>
-
由 Clément Bœsch 提交于
-
由 Clément Bœsch 提交于
-
由 Clément Bœsch 提交于
-
由 Clément Bœsch 提交于
Fixes Ticket #4783
-
由 Clément Bœsch 提交于
-
由 Clément Bœsch 提交于
-
由 Clément Bœsch 提交于
-
由 Michael Niedermayer 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Michael Niedermayer 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 26 2月, 2016 6 次提交
-
-
由 Rostislav Pehlivanov 提交于
This commit moves the minimum bits per slice calculations outside of the rate control function as it is identical for every slice. Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Rostislav Pehlivanov 提交于
Since coefficients differ only in the last bit when writing to the bitstream it was possible to remove the sign from the tables, thus halving them. Also now all quantization is done in the unsigned domain as the sign is completely separate, which gets rid of the need to do quantization on 32 bit signed integers. Overall, this slightly speeds up the encoder depending on the machine. The commit still generates bit-identical files as before the commit. Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Rostislav Pehlivanov 提交于
Provides a minor speedup. Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Rostislav Pehlivanov 提交于
Credit for figuring this out goes to James Darnley. Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Rostislav Pehlivanov 提交于
The encoder does not modify any global variables. Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Paul B Mahol 提交于
Should help when using reset=1 and metadata=1 Signed-off-by: NPaul B Mahol <onemda@gmail.com>
-