Commit f36ce75e authored by Daniel Kristjansson's avatar Daniel Kristjansson Committed by Michael Niedermayer

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

parent be5ac961
...@@ -438,7 +438,9 @@ static int pcm_decode_frame(AVCodecContext *avctx, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment