ea: fix audio pts
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 11 Jan 2012 15:22:47 +0000 (10:22 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 3 Mar 2012 22:03:27 +0000 (17:03 -0500)
commitea289186f04fa8b9f2cc3bc1aba1cb239ab56f47
treecb64dac5deff6614f0645954c065268fffeee7bb
parent01be6fa926dc3de593756ffd1e09f9523be5fd00
ea: fix audio pts

The time base is 1 / sample_rate, not 90000.
Several more codecs encode the sample count in the first 4 bytes of the
chunk, so we set the durations accordingly. Also, we can set start_time and
packet duration instead of keeping track of the sample count in the demuxer.
libavformat/electronicarts.c