Small fix

This commit is contained in:
Nekotekina 2014-10-28 15:30:37 +03:00
parent 09a4d14f8f
commit 65ddf980e0
2 changed files with 49 additions and 7 deletions

View file

@ -651,7 +651,7 @@ int cellAdecDecodeAu(u32 handle, vm::ptr<CellAdecAuInfo> auInfo)
task.au.pts = ((u64)auInfo->pts.upper << 32) | (u64)auInfo->pts.lower;
task.au.userdata = auInfo->userData;
cellAdec->Notice("cellAdecDecodeAu(): addr=0x%x, size=0x%x, pts=0x%llx", task.au.addr, task.au.size, task.au.pts);
//cellAdec->Notice("cellAdecDecodeAu(): addr=0x%x, size=0x%x, pts=0x%llx", task.au.addr, task.au.size, task.au.pts);
adec->job.Push(task, &adec->is_closed);
return CELL_OK;
}
@ -675,12 +675,6 @@ int cellAdecGetPcm(u32 handle, vm::ptr<float> outBuffer)
AVFrame* frame = af.data;
if (!af.data)
{
// hack
return CELL_OK;
}
if (outBuffer)
{
// reverse byte order: