From f36ce75e35c49152b5570118df04f9f7d8e8d2f5 Mon Sep 17 00:00:00 2001 From: Daniel Kristjansson Date: Wed, 12 Oct 2011 00:47:43 +0200 Subject: [PATCH] pcm: Print number of bits in the error message of unsupported DVD PCM formats. --- libavcodec/pcm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 852e34981f..c4928290c4 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -438,7 +438,9 @@ static int pcm_decode_frame(AVCodecContext *avctx, } break; 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; } samples = (short *) dst_int32_t; -- GitLab