[FFmpeg-cvslog] avformat/dvdvideodec: Remove unused cell count variable

Marth64 git at videolan.org
Sun Jul 7 12:40:58 EEST 2024


ffmpeg | branch: master | Marth64 <marth64 at proxyid.net> | Wed Jul  3 19:29:47 2024 -0500| [8b8ee799de8409189f5b75eb791995ce548e4a41] | committer: Anton Khirnov

avformat/dvdvideodec: Remove unused cell count variable

Signed-off-by: Marth64 <marth64 at proxyid.net>
Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b8ee799de8409189f5b75eb791995ce548e4a41
---

 libavformat/dvdvideodec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c
index e7132725b7..28c6b1c27f 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 */
@@ -730,7 +729,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:



More information about the ffmpeg-cvslog mailing list