mirror of https://git.ffmpeg.org/ffmpeg.git
dnxhddec: reindent/cosmetics
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a58c22d612
commit
6110a55b7d
|
@ -153,8 +153,8 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
|
||||||
int old_bit_depth = ctx->bit_depth;
|
int old_bit_depth = ctx->bit_depth;
|
||||||
|
|
||||||
if (buf_size < 0x280) {
|
if (buf_size < 0x280) {
|
||||||
av_log(ctx->avctx, AV_LOG_ERROR, "buffer too small (%d < 640).\n",
|
av_log(ctx->avctx, AV_LOG_ERROR,
|
||||||
buf_size);
|
"buffer too small (%d < 640).\n", buf_size);
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,8 +199,8 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
|
||||||
ctx->is_444 = 0;
|
ctx->is_444 = 0;
|
||||||
ctx->decode_dct_block = dnxhd_decode_dct_block_8;
|
ctx->decode_dct_block = dnxhd_decode_dct_block_8;
|
||||||
} else {
|
} else {
|
||||||
av_log(ctx->avctx, AV_LOG_ERROR, "invalid bit depth value (%d).\n",
|
av_log(ctx->avctx, AV_LOG_ERROR,
|
||||||
buf[0x21]);
|
"invalid bit depth value (%d).\n", buf[0x21]);
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
if (ctx->bit_depth != old_bit_depth) {
|
if (ctx->bit_depth != old_bit_depth) {
|
||||||
|
|
Loading…
Reference in New Issue