summaryrefslogtreecommitdiff
path: root/libavcodec/pcm.c
diff options
context:
space:
mode:
authorDaniel Kristjansson <dkristjansson@mythtv.org>2011-10-12 00:47:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-12 00:47:43 +0200
commitf36ce75e35c49152b5570118df04f9f7d8e8d2f5 (patch)
tree880ff93272194a2a972ba72d30d19218779f7332 /libavcodec/pcm.c
parentbe5ac961e0a087a5a420a0477f8861dd05d0b9b7 (diff)
downloadffmpeg-f36ce75e35c49152b5570118df04f9f7d8e8d2f5.tar.gz
pcm: Print number of bits in the error message of unsupported DVD PCM formats.
Diffstat (limited to 'libavcodec/pcm.c')
-rw-r--r--libavcodec/pcm.c4
1 files changed, 3 insertions, 1 deletions
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;