replaygain: allow exporting already decoded replaygain values
authorAlessandro Ghedini <alessandro@ghedini.me>
Sat, 12 Apr 2014 16:25:40 +0000 (18:25 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 17 Apr 2014 18:08:19 +0000 (20:08 +0200)
commitae43c10e36197000de2f3cc99ea35727ce98a796
treeaf9b998f29df0cd41908d213e9a04ae3a2ab3e86
parent21d8f4da91673051ad7055cf63d989488a56368e
replaygain: allow exporting already decoded replaygain values

This adds a function to export raw replaygain values (i.e. in the (u)int32_t
form). It first checks whether AV_PKT_DATA_REPLAYGAIN side data is present, in
which case it does nothing.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/replaygain.c
libavformat/replaygain.h