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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-11-18 20:59:21 +01:00
parent 4adf1fe34f
commit 918cab1a9f
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ static int pcm_dvd_decode_frame(AVCodecContext *avctx, void *data,
if ((retval = pcm_dvd_parse_header(avctx, src)))
return retval;
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->last_block_size = s->block_size;