[FFmpeg-devel] [PATCH 10/10] avcodec/dca: remove useless debug message

James Almer jamrial at gmail.com
Fri May 20 20:00:01 CEST 2016


On 5/13/2016 6:48 AM, foo86 wrote:
> Most DTS-in-WAV streams trigger this, making debug output hard to read.
> ---
>  libavcodec/dca_core.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c
> index f6c22ca..46825ed 100644
> --- a/libavcodec/dca_core.c
> +++ b/libavcodec/dca_core.c
> @@ -1921,10 +1921,8 @@ int ff_dca_core_parse(DCACoreDecoder *s, uint8_t *data, int size)
>          return ret;
>  
>      // Workaround for DTS in WAV
> -    if (s->frame_size > size && s->frame_size < size + 4) {
> -        av_log(s->avctx, AV_LOG_DEBUG, "Working around excessive core frame size (%d > %d)\n", s->frame_size, size);
> +    if (s->frame_size > size && s->frame_size < size + 4)
>          s->frame_size = size;
> -    }
>  
>      if (ff_dca_seek_bits(&s->gb, s->frame_size * 8)) {
>          av_log(s->avctx, AV_LOG_ERROR, "Read past end of core frame\n");

Pushed.



More information about the ffmpeg-devel mailing list