[FFmpeg-cvslog] pcm: Print number of bits in the error message of unsupported DVD PCM formats.
Daniel Kristjansson
git at videolan.org
Wed Oct 12 02:32:50 CEST 2011
ffmpeg | branch: master | Daniel Kristjansson <dkristjansson at mythtv.org> | Wed Oct 12 00:47:43 2011 +0200| [f36ce75e35c49152b5570118df04f9f7d8e8d2f5] | committer: Michael Niedermayer
pcm: Print number of bits in the error message of unsupported DVD PCM formats.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f36ce75e35c49152b5570118df04f9f7d8e8d2f5
---
libavcodec/pcm.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 852e349..c492829 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;
More information about the ffmpeg-cvslog
mailing list