mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
avcodec/hevc_parser: very minor simplification in hevc_parse()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
4c14a25281
commit
449b1dcd7d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user