From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A2BA44A68A for ; Thu, 4 Jul 2024 00:30:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2495468D1F4; Thu, 4 Jul 2024 03:29:57 +0300 (EEST) Received: from mail-ot1-f100.google.com (mail-ot1-f100.google.com [209.85.210.100]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1586468DA0F for ; Thu, 4 Jul 2024 03:29:51 +0300 (EEST) Received: by mail-ot1-f100.google.com with SMTP id 46e09a7af769-6f8d0a00a35so75714a34.2 for ; Wed, 03 Jul 2024 17:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1720052989; x=1720657789; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wrN7+N5WOuB7RtdYo3VrnAAt7FYDb4hBmBmKynDDG3E=; b=Jt+uu0YWPcvOnCSlyPNKW7Wac490JtPUOPxHcWiJt8S5U2LmLJbo+iGm2V7NhRdyO2 IIRTr3qOnDi/e/iFmjXB0nt18XOK1XSivqD8mNQKHNvjptCCenCMHTFAUVRpFeXHg0Ht 1qijXl8au0uWIMJ/vs8fZh564T0/pzuzz4dWpS+SQNit/6HG3KT5Zcz4xAl+a71IqoLR HpI1HTDXug9V9Qudnenc7vwjCmJAY7LRWCXb6vhtIXCNqaU/IGfbKW7n6Himd0/9a9Nf lT1jg2x8niovPpFjGUUL3E8kkw6INe1EgPB/prSEJtzIM3x8yt5ypDjGROxwyfmsoViY 9s2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720052989; x=1720657789; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wrN7+N5WOuB7RtdYo3VrnAAt7FYDb4hBmBmKynDDG3E=; b=GFqFKQ7C/kN1NjI5Lw0EO9jY/s+Yn7N2kHR7mNiQQTnL1EhwwwR5yW++q/mljuWQ/J qfV0CT/wMisFLNWzSWuI0kL3aq36DUWI6U0rPvUqSH3NE90v9/v5dffi1+3MHuLEmncx 4+rwb8vz+h7rsLtSex64E+Vd2YXe9KrGcMiD1NRLBPnFp/LiCf9A/sQ/SAWUz6q4R1wP pCmulNjo/oHZ5SfYPgQ0vniRnXoekrdbGkJvLI/ay30O8PeYypsUenYvs/QSNRF5ddZc ywV66zQA6+bBRUBRcRJu0BLIeeFeMT11U738T7ewEWh9usElL4hs5b7it0PwYVI1LKLZ WS/g== X-Gm-Message-State: AOJu0YwBaTwKe7vYPBuBcQ7l03qyk1kgtyNmWmH+ILVCFJlmHCZeLYT2 Coj45tFH/kUMls1+0ToWFwqaav+3PfZA0nNqlbBxvdK/oxw7KvAsbEOQn2yN21RHCpqg/FsxtT6 7gziW/v67VNeCyfY/waxMok7tlrCbjEKv6XplGiOH X-Google-Smtp-Source: AGHT+IGYBeQ/002x5XOsaml35BlQu/cEbMC1lGxbHTO3OLqlKY6Lukmi6qTaSrqspPsnqKiVMU9PCwv3WUUq X-Received: by 2002:a05:6870:d8d1:b0:24f:c715:a4d4 with SMTP id 586e51a60fabf-25e2bf1f08bmr150582fac.40.1720052989339; Wed, 03 Jul 2024 17:29:49 -0700 (PDT) Received: from wsx-cc1-001.. (c-76-136-218-80.hsd1.il.comcast.net. [76.136.218.80]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-25df8bfcdf1sm190166fac.2.2024.07.03.17.29.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 17:29:49 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Wed, 3 Jul 2024 19:29:47 -0500 Message-Id: <20240704002947.1617897-1-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: Remove unused cell count variable X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marth64 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index 5c9d578aaf..7a859071c3 100644 --- a/libavformat/dvdvideodec.c +++ b/libavformat/dvdvideodec.c @@ -111,7 +111,6 @@ typedef struct DVDVideoPlaybackState { int in_ps; /* if our navigator is in the program stream */ int in_vts; /* if our navigator is in the VTS */ int64_t nav_pts; /* PTS according to IFO, not frame-accurate */ - int nb_cells_played; /* number of cells played back so far */ uint64_t pgc_duration_est; /* estimated duration as reported by IFO */ uint64_t pgc_elapsed; /* the elapsed time of the PGC, cell-relative */ int pgc_nb_pg_est; /* number of PGs as reported by IFOs */ @@ -723,7 +722,6 @@ static int dvdvideo_play_next_ps_block(AVFormatContext *s, DVDVideoPlaybackState state->celln = e_cell->cellN; state->ptt = cur_ptt; state->pgn = cur_pgn; - state->nb_cells_played++; continue; case DVDNAV_NAV_PACKET: -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".