mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-04 03:28:05 +00:00
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;
|
||||
|
||||
if (buf_size < 0x280) {
|
||||
av_log(ctx->avctx, AV_LOG_ERROR, "buffer too small (%d < 640).\n",
|
||||
buf_size);
|
||||
av_log(ctx->avctx, AV_LOG_ERROR,
|
||||
"buffer too small (%d < 640).\n", buf_size);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
@ -199,8 +199,8 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
|
||||
ctx->is_444 = 0;
|
||||
ctx->decode_dct_block = dnxhd_decode_dct_block_8;
|
||||
} else {
|
||||
av_log(ctx->avctx, AV_LOG_ERROR, "invalid bit depth value (%d).\n",
|
||||
buf[0x21]);
|
||||
av_log(ctx->avctx, AV_LOG_ERROR,
|
||||
"invalid bit depth value (%d).\n", buf[0x21]);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
if (ctx->bit_depth != old_bit_depth) {
|
||||
|
Loading…
Reference in New Issue
Block a user