Last minute fix for files with multiple streams, which includes APE files with attached pictures.

CQTexperiment
Christopher Snowhill 2017-05-20 18:29:27 -07:00
parent df28a1ad34
commit 67332f4982
1 changed files with 1 additions and 0 deletions

View File

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