[FFmpeg-cvslog] avcodec/hevc_parser: very minor simplification in hevc_parse()
Michael Niedermayer
git at videolan.org
Sun Sep 30 21:43:38 EEST 2018
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Sep 30 02:29:44 2018 +0200| [449b1dcd7d52b33b148fae95de176b7344bf959d] | committer: Michael Niedermayer
avcodec/hevc_parser: very minor simplification in hevc_parse()
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=449b1dcd7d52b33b148fae95de176b7344bf959d
---
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);
More information about the ffmpeg-cvslog
mailing list