Last minute fix for files with multiple streams, which includes APE files with attached pictures.
This commit is contained in:
parent
df28a1ad34
commit
67332f4982
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ int lockmgr_callback(void ** mutex, enum AVLockOp op)
|
||||||
}
|
}
|
||||||
|
|
||||||
stream = formatCtx->streams[streamIndex];
|
stream = formatCtx->streams[streamIndex];
|
||||||
|
codecPar = stream->codecpar;
|
||||||
|
|
||||||
codecCtx = avcodec_alloc_context3(NULL);
|
codecCtx = avcodec_alloc_context3(NULL);
|
||||||
if (!codecCtx)
|
if (!codecCtx)
|
||||||
|
|
Loading…
Reference in a new issue