diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 423bce2252..e3dec78f7f 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -401,8 +401,9 @@ static int dnxhd_decode_macroblock(const DNXHDContext *ctx, RowContext *row, if (ctx->mbaff) { interlaced_mb = get_bits1(&row->gb); qscale = get_bits(&row->gb, 10); - } else + } else { qscale = get_bits(&row->gb, 11); + } act = get_bits1(&row->gb); if (act) { static int warned = 0;