Commit 5d883f83 authored by kostya's avatar kostya

Use bpp from header in error message

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6878 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a6eaa1a7
...@@ -129,7 +129,7 @@ static int decode_frame(AVCodecContext *avctx, ...@@ -129,7 +129,7 @@ static int decode_frame(AVCodecContext *avctx,
avctx->pix_fmt = PIX_FMT_BGR24; avctx->pix_fmt = PIX_FMT_BGR24;
break; break;
default: default:
av_log(avctx, AV_LOG_ERROR, "Bit depth %i is not supported\n", avctx->bits_per_sample); av_log(avctx, AV_LOG_ERROR, "Bit depth %i is not supported\n", s->bpp);
return -1; return -1;
} }
......
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