Last minute fix for files with multiple streams, which includes APE files with attached pictures.
parent
df28a1ad34
commit
67332f4982
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue