avcodec/hevc_parser: very minor simplification in hevc_parse()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2018-09-30 02:29:44 +02:00
parent 4c14a25281
commit 449b1dcd7d
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ static int hevc_parse(AVCodecParserContext *s, AVCodecContext *avctx,
}
}
is_dummy_buf = (is_dummy_buf && (dummy_buf == buf));
is_dummy_buf &= (dummy_buf == buf);
if (!is_dummy_buf)
parse_nal_units(s, buf, buf_size, avctx);