Signed-off-by: James Almer <jamr...@gmail.com>
---
 libavcodec/evc_parser.c | 2 --
 1 file changed, 2 deletions(-)

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;
-- 
2.41.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
  • ... James Almer
    • ... James Almer
    • ... James Almer
    • ... James Almer
      • ... Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
        • ... James Almer
    • ... James Almer
    • ... James Almer
    • ... James Almer
    • ... James Almer
      • ... Paul B Mahol
    • ... James Almer
    • ... James Almer
    • ... James Almer
      • ... James Almer
      • ... James Almer
    • ... James Almer
    • ... James Almer
      • ... Michael Niedermayer
        • ... James Almer

Reply via email to