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

pull/2/head
Daniel Kristjansson 14 years ago committed by Michael Niedermayer
parent be5ac961e0
commit f36ce75e35
  1. 4
      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;

Loading…
Cancel
Save