The seek callback should return new offset.

Like lseek().  Not the passed param.
This commit is contained in:
Unknown W. Brackets 2013-06-14 23:12:56 -07:00
parent 2ec8106809
commit 9406561492

View File

@ -174,7 +174,7 @@ int64_t _MpegSeekbuffer(void *opaque, int64_t offset, int whence)
return mpeg->m_streamSize;
#endif
}
return offset;
return mpeg->m_decodeNextPos;
}
#ifdef _DEBUG