On 03/25/2014 09:55 AM, Alessandro Ghedini wrote:
> ---
>  libavformat/flacdec.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
> index ecbb7ec..11360a9 100644
> --- a/libavformat/flacdec.c
> +++ b/libavformat/flacdec.c
> @@ -26,6 +26,7 @@
>  #include "rawdec.h"
>  #include "oggdec.h"
>  #include "vorbiscomment.h"
> +#include "replaygain.h"
>  #include "libavcodec/bytestream.h"
>  
>  static int flac_read_header(AVFormatContext *s)
> @@ -146,6 +147,10 @@ static int flac_read_header(AVFormatContext *s)
>          }
>      }
>  
> +    ret = ff_replaygain_export(st, s->metadata);
> +    if (ret < 0)
> +        return ret;
> +
>      return 0;
>  }
>  

Looks ok.

-Justin

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to