From 67332f49828b5c016c633d826b7143ce52c69893 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 20 May 2017 18:29:27 -0700 Subject: [PATCH] Last minute fix for files with multiple streams, which includes APE files with attached pictures. --- Plugins/FFMPEG/FFMPEGDecoder.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/FFMPEG/FFMPEGDecoder.m b/Plugins/FFMPEG/FFMPEGDecoder.m index 5df091438..fa3baec0c 100644 --- a/Plugins/FFMPEG/FFMPEGDecoder.m +++ b/Plugins/FFMPEG/FFMPEGDecoder.m @@ -174,6 +174,7 @@ int lockmgr_callback(void ** mutex, enum AVLockOp op) } stream = formatCtx->streams[streamIndex]; + codecPar = stream->codecpar; codecCtx = avcodec_alloc_context3(NULL); if (!codecCtx)