diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-09-30 02:29:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-09-30 20:08:21 +0200 |
commit | 449b1dcd7d52b33b148fae95de176b7344bf959d (patch) | |
tree | 6672ca6506700208ceb941c3511753c4747c46ec | |
parent | 4c14a25281bb496092e2a6f930e4f1f9e900514f (diff) | |
download | ffmpeg-streaming-449b1dcd7d52b33b148fae95de176b7344bf959d.zip ffmpeg-streaming-449b1dcd7d52b33b148fae95de176b7344bf959d.tar.gz |
avcodec/hevc_parser: very minor simplification in hevc_parse()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/hevc_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 01418b2..369d133 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); |