mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-09 14:08:07 +00:00
oggdec: Set packet duration for ogm streams
Originally committed as revision 22493 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6b10228a55
commit
3477897e5a
@ -149,6 +149,9 @@ ogm_packet(AVFormatContext *s, int idx)
|
|||||||
os->pstart += lb + 1;
|
os->pstart += lb + 1;
|
||||||
os->psize -= lb + 1;
|
os->psize -= lb + 1;
|
||||||
|
|
||||||
|
while (lb--)
|
||||||
|
os->pduration += p[lb+1] << (lb*8);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user