Message ID | 20230617220015.12669-5-jamrial@gmail.com |
---|---|
State | Accepted |
Commit | fdd8daf899c1bdaefea01e3f868e25a3cab63419 |
Headers | show |
Series | [FFmpeg-devel,1/3] avcodec/evc_frame_merge: use av_fast_realloc() | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
lgtm
diff --git a/libavcodec/evc_parser.c b/libavcodec/evc_parser.c index d22922d1c9..c30da6846e 100644 --- a/libavcodec/evc_parser.c +++ b/libavcodec/evc_parser.c @@ -211,7 +211,6 @@ static int parse_nal_units(AVCodecParserContext *s, AVCodecContext *avctx, const { const uint8_t *data = buf; int data_size = buf_size; - int bytes_read = 0; while (data_size > 0) { int nalu_size = 0; @@ -223,7 +222,6 @@ static int parse_nal_units(AVCodecParserContext *s, AVCodecContext *avctx, const nalu_size = evc_read_nal_unit_length(data, data_size, avctx); - bytes_read += EVC_NALU_LENGTH_PREFIX_SIZE; data += EVC_NALU_LENGTH_PREFIX_SIZE; data_size -= EVC_NALU_LENGTH_PREFIX_SIZE;
Signed-off-by: James Almer <jamrial@gmail.com> --- libavcodec/evc_parser.c | 2 -- 1 file changed, 2 deletions(-)