You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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>
This commit is contained in:
@@ -1921,10 +1921,8 @@ int ff_dca_core_parse(DCACoreDecoder *s, uint8_t *data, int size)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
// Workaround for DTS in WAV
|
// Workaround for DTS in WAV
|
||||||
if (s->frame_size > size && s->frame_size < size + 4) {
|
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);
|
|
||||||
s->frame_size = size;
|
s->frame_size = size;
|
||||||
}
|
|
||||||
|
|
||||||
if (ff_dca_seek_bits(&s->gb, s->frame_size * 8)) {
|
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");
|
av_log(s->avctx, AV_LOG_ERROR, "Read past end of core frame\n");
|
||||||
|
Reference in New Issue
Block a user