Commit 3477897e authored by David Conrad's avatar David Conrad

oggdec: Set packet duration for ogm streams

Originally committed as revision 22493 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6b10228a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment