Commit 918cab1a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/pcm-dvd: print actual block size values in block size changed warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4adf1fe3
...@@ -249,7 +249,7 @@ static int pcm_dvd_decode_frame(AVCodecContext *avctx, void *data, ...@@ -249,7 +249,7 @@ static int pcm_dvd_decode_frame(AVCodecContext *avctx, void *data,
if ((retval = pcm_dvd_parse_header(avctx, src))) if ((retval = pcm_dvd_parse_header(avctx, src)))
return retval; return retval;
if (s->last_block_size && s->last_block_size != s->block_size) { if (s->last_block_size && s->last_block_size != s->block_size) {
av_log(avctx, AV_LOG_WARNING, "block_size has changed\n"); av_log(avctx, AV_LOG_WARNING, "block_size has changed %d != %d\n", s->last_block_size, s->block_size);
s->extra_sample_count = 0; s->extra_sample_count = 0;
} }
s->last_block_size = s->block_size; s->last_block_size = s->block_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment