You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
@@ -149,6 +149,9 @@ ogm_packet(AVFormatContext *s, int idx)
|
||||
os->pstart += lb + 1;
|
||||
os->psize -= lb + 1;
|
||||
|
||||
while (lb--)
|
||||
os->pduration += p[lb+1] << (lb*8);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user