1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

pcm: Print number of bits in the error message of unsupported DVD PCM formats.

This commit is contained in:
Daniel Kristjansson 2011-10-12 00:47:43 +02:00 committed by Michael Niedermayer
parent be5ac961e0
commit f36ce75e35

View File

@ -438,7 +438,9 @@ static int pcm_decode_frame(AVCodecContext *avctx,
} }
break; break;
default: default:
av_log(avctx, AV_LOG_ERROR, "PCM DVD unsupported sample depth\n"); av_log(avctx, AV_LOG_ERROR,
"PCM DVD unsupported sample depth %i\n",
avctx->bits_per_coded_sample);
return -1; return -1;
} }
samples = (short *) dst_int32_t; samples = (short *) dst_int32_t;