MPV

~mpv-team/mpv/+git/ffmpeg:release/3.1

Last commit made on 2020-05-23
Get this branch:
git clone -b release/3.1 https://git.launchpad.net/~mpv-team/mpv/+git/ffmpeg

Branch merges

Branch information

Name:
release/3.1
Repository:
lp:~mpv-team/mpv/+git/ffmpeg

Recent commits

2958473... by Andreas Rheinhardt <email address hidden>

libavcodec/libvpxenc: Don't free user-provided AVPacket

Signed-off-by: Andreas Rheinhardt <email address hidden>
(cherry picked from commit 26b45096906097a73ba587bf3b98dada4e795224)

5266280... by Andreas Rheinhardt <email address hidden>

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 b803993b6d99423c8c1e01e7e206e3916a98d5d5)

24b4c4c... by Andreas Rheinhardt <email address hidden>

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 dbc50f8a935043243232b2e01f3c012ab6d49928)

6f6cd2e... by Mark Harris <email address hidden>

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 4361293fcf59edb56879c36edcd25f0a91e0edf8)

f8e2547... by James Almer <email address hidden>

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 70c8c8a818f39bc262565ec29fae2baffb3e1660)

7653e8d... by Paul B Mahol <email address hidden>

avfilter/af_silenceremove: fix possible crash if supplied duration is negative

Signed-off-by: Paul B Mahol <email address hidden>

Fixes ticket #7697.
(cherry picked from commit 2d1594a8d6a754a426cb53184dccf9cf8c8a94b0)

a9c1ef2... by James Almer <email address hidden>

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 3258cc6507a2012d54889ce5f8efbde7e81d927d)

ac1ddc6... by James Almer <email address hidden>

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 5079e96bcc7aaa9cae82a58397ce986e124028e4)

86d6fca... by James Almer <email address hidden>

avdevice/iec61883: return reference counted packets

Fixes part of ticket #7146, dealing with leaks of packet data since
commit 87c88122703f2befcf96383d05bdf14373c22df9.

Signed-off-by: James Almer <email address hidden>
(cherry picked from commit b8629654c6460a28c507f816a977914e3a6f2520)

13deb0c... by Marton Balint <email address hidden>

avdevice/iec61883: free packet on buffer allocation error

Fixes Coverity CID 1396416.

Signed-off-by: Marton Balint <email address hidden>
(cherry picked from commit 4556dad2b7379a527134db519ab60111abefaf10)