File ffmpeg-CVE-2018-13300.patch of Package ffmpeg.27460

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 378a4ea..aab3e31 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -381,7 +381,7 @@ static int handle_eac3(MOVMuxContext *mov, AVPacket *pkt, MOVTrack *track)
 
             if (hdr->substreamid == info->num_ind_sub + 1) {
                 //info->num_ind_sub++;
-                avpriv_request_sample(track->par, "Multiple independent substreams");
+                avpriv_request_sample(mov->fc, "Multiple independent substreams");
                 return AVERROR_PATCHWELCOME;
             } else if (hdr->substreamid < info->num_ind_sub ||
                        hdr->substreamid == 0 && info->substream[0].bsid) {
openSUSE Build Service is sponsored by