Browse Source

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

tags/n0.9
Daniel Kristjansson Michael Niedermayer 13 years ago
parent
commit
f36ce75e35
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavcodec/pcm.c

+ 3
- 1
libavcodec/pcm.c View File

@@ -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