Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-09-30 03:29:44 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-09-30 21:08:21 +0300
commit449b1dcd7d52b33b148fae95de176b7344bf959d (patch)
tree6672ca6506700208ceb941c3511753c4747c46ec /libavcodec/hevc_parser.c
parent4c14a25281bb496092e2a6f930e4f1f9e900514f (diff)
avcodec/hevc_parser: very minor simplification in hevc_parse()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/hevc_parser.c')
-rw-r--r--libavcodec/hevc_parser.c2
1 files changed, 1 insertions, 1 deletions
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);