libavformat/avienc: Fix duration of audio segment in OpenDML master index
authorTobias Rapp <t.rapp@noa-audio.com>
Tue, 3 Mar 2015 12:29:05 +0000 (13:29 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Mar 2015 23:08:53 +0000 (00:08 +0100)
commitb4fbad2634c4f9d094dbe000c794fa277ecd678e
tree66fee93449979468acf37145850f096938c75b85
parentff6b08141a30920112999342b8ce6e890a5a367d
libavformat/avienc: Fix duration of audio segment in OpenDML master index

Fixes the duration field of the OpenDML master index "indx" chunk to
contain the number of samples instead of the number of packets for
(linear/PCM) audio streams.

This matches the OpenDML V1.02 standard text which states that the
duration field shall contain "time span in stream ticks".

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avienc.c