2958473...
by
Andreas Rheinhardt <email address hidden>
on 2020-05-23
libavcodec/ libvpxenc: Don't free user-provided AVPacket
Signed-off-by: Andreas Rheinhardt <email address hidden>
(cherry picked from commit 26b45096906097a 73ba587bf3b98da da4e795224)
5266280...
by
Andreas Rheinhardt <email address hidden>
on 2020-05-23
avcodec/libopusenc: Don't free user-provided AVPacket
Reviewed-by: James Almer <email address hidden>
Signed-off-by: Andreas Rheinhardt <email address hidden>
(cherry picked from commit b803993b6d99423 c8c1e01e7e206e3 916a98d5d5)
24b4c4c...
by
Andreas Rheinhardt <email address hidden>
on 2019-11-20
avformat/ matroskadec: Fix default value of BlockAddID
Signed-off-by: Andreas Rheinhardt <email address hidden>
Signed-off-by: James Almer <email address hidden>
(cherry picked from commit dbc50f8a9350432 43232b2e01f3c01 2ab6d49928)
6f6cd2e...
by
Mark Harris <email address hidden>
on 2018-11-24
avutil/mem: Fix invalid use of av_alloc_size
The alloc_size attribute is valid only on functions that return a
pointer. GCC 9 (not yet released) warns about invalid usage:
./libavutil/ mem.h:342: 1: warning: 'alloc_size' attribute ignored on a function returning int' [-Wattributes]
342 | av_alloc_size(2, 3) int av_reallocp_ array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
Signed-off-by: Michael Niedermayer <email address hidden>
(cherry picked from commit 4361293fcf59edb 56879c36edcd25f 0a91e0edf8)
f8e2547...
by
James Almer <email address hidden>
on 2019-03-18
avcodec/hevcdec: decode at most one slice reporting being the first in the picture
Fixes deadlocks when decoding packets containing more than one of the aforementioned
slices when using frame threads.
Tested-by: Derek Buitenhuis <email address hidden>
Signed-off-by: James Almer <email address hidden>
(cherry picked from commit 70c8c8a818f39bc 262565ec29fae2b affb3e1660)
7653e8d...
by
Paul B Mahol <email address hidden>
on 2017-11-27
avfilter/ af_silenceremov e: fix possible crash if supplied duration is negative
Signed-off-by: Paul B Mahol <email address hidden>
Fixes ticket #7697.
(cherry picked from commit 2d1594a8d6a754a 426cb53184dccf9 cf8c8a94b0)
a9c1ef2...
by
James Almer <email address hidden>
on 2018-07-28
avcodec/ bitstream_ filters: check the input argument of av_bsf_ get_by_ name() for NULL
Fixes crashes like "ffmpeg -h bsf" caused by passing NULL to strcmp()
Signed-off-by: James Almer <email address hidden>
(cherry picked from commit 3258cc6507a2012 d54889ce5f8efbd e7e81d927d)
ac1ddc6...
by
James Almer <email address hidden>
on 2018-04-18
avdevice/iec61883: free the private context at the end
Fixes part of ticket #7146.
Signed-off-by: James Almer <email address hidden>
(cherry picked from commit 5079e96bcc7aaa9 cae82a58397ce98 6e124028e4)
86d6fca...
by
James Almer <email address hidden>
on 2018-04-18
avdevice/iec61883: return reference counted packets
Fixes part of ticket #7146, dealing with leaks of packet data since
commit 87c88122703f2be fcf96383d05bdf1 4373c22df9.
Signed-off-by: James Almer <email address hidden>
(cherry picked from commit b8629654c6460a2 8c507f816a97791 4e3a6f2520)
13deb0c...
by
Marton Balint <email address hidden>
on 2017-02-08
avdevice/iec61883: free packet on buffer allocation error
Fixes Coverity CID 1396416.
Signed-off-by: Marton Balint <email address hidden>
(cherry picked from commit 4556dad2b7379a5 27134db519ab601 11abefaf10)