mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Make sure audio stream is present
This commit is contained in:
1 parent
891d223a4f
commit
1fcbc46814
1 file changed
+1
-1
@@ -1174,7 +1174,7 @@ int sceMpegGetAtracAu(u32 mpeg, u32 streamId, u32 auAddr, u32 attrAddr)
|
||||
result = ERROR_MPEG_NO_DATA;
|
||||
}
|
||||
|
||||
if (ctx->mediaengine->IsNoAudioData() && !ctx->endOfAudioReached) {
|
||||
if (ctx->atracRegistered && ctx->mediaengine->IsNoAudioData() && !ctx->endOfAudioReached) {
|
||||
WARN_LOG(ME, "Audio end reach. pts: %i dts: %i", (int)atracAu.pts, (int)ctx->mediaengine->getLastTimeStamp());
|
||||
ctx->endOfAudioReached = true;
|
||||
result = ERROR_MPEG_NO_DATA;
|
||||
|
||||
Reference in new issue
Block a user