aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-05-13 12:48:32 +0300
committerJames Almer <jamrial@gmail.com>2016-05-20 14:58:25 -0300
commitb5cda23039115e2bb83304462723c5f198c4418e (patch)
tree8f8779d9cb5e915f3c21a5fe6f9ba4bbbaea0928 /libavcodec
parentb50bd695168976b70e5fab2f2f3a9b0ef8063157 (diff)
downloadffmpeg-b5cda23039115e2bb83304462723c5f198c4418e.tar.gz
avcodec/dca: remove useless debug message
Most DTS-in-WAV streams trigger this, making debug output hard to read. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dca_core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c
index f6c22ca2df..46825edbd4 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");