Commit 449b1dcd authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc_parser: very minor simplification in hevc_parse()

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4c14a252
...@@ -315,7 +315,7 @@ static int hevc_parse(AVCodecParserContext *s, AVCodecContext *avctx, ...@@ -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) if (!is_dummy_buf)
parse_nal_units(s, buf, buf_size, avctx); parse_nal_units(s, buf, buf_size, avctx);
......
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