[FFmpeg-cvslog] avcodec/pgssubdec: remove unused variables

Michael Niedermayer git at videolan.org
Mon Jun 30 18:29:35 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 30 18:24:37 2014 +0200| [e429d6c1971db72195d84da2463859498cd030dc] | committer: Michael Niedermayer

avcodec/pgssubdec: remove unused variables

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/pgssubdec.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index d1be074..4b07b6e 100644
--- a/libavcodec/pgssubdec.c
+++ b/libavcodec/pgssubdec.c
@@ -386,8 +386,6 @@ static int parse_presentation_segment(AVCodecContext *avctx,
     int w = bytestream_get_be16(&buf);
     int h = bytestream_get_be16(&buf);
 
-    uint16_t object_index;
-
     ctx->presentation.pts = pts;
 
     av_dlog(avctx, "Video Dimensions %dx%d\n",
@@ -596,7 +594,6 @@ static int decode(AVCodecContext *avctx, void *data, int *data_size,
 {
     const uint8_t *buf = avpkt->data;
     int buf_size       = avpkt->size;
-    AVSubtitle *sub    = data;
 
     const uint8_t *buf_end;
     uint8_t       segment_type;



More information about the ffmpeg-cvslog mailing list