From 449b1dcd7d52b33b148fae95de176b7344bf959d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 30 Sep 2018 02:29:44 +0200 Subject: [PATCH] avcodec/hevc_parser: very minor simplification in hevc_parse() Signed-off-by: Michael Niedermayer --- libavcodec/hevc_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 01418b276d..369d1338d0 100644 --- a/libavcodec/hevc_parser.c +++ b/libavcodec/hevc_parser.c @@ -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);