diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-11 14:49:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-11 14:49:55 +0200 |
commit | 9b8b804cfb37361a0fac49a6ce7052247d75a42e (patch) | |
tree | ca46ebbfc29778ce65cc6c8803f6b3199608ba1e /libavformat/yuv4mpegdec.c | |
parent | 733c5d889b9887babbae85a5435e8f0d39473c51 (diff) | |
download | ffmpeg-9b8b804cfb37361a0fac49a6ce7052247d75a42e.tar.gz |
avformat/yuv4mpegdec: Remove unused variables
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/yuv4mpegdec.c')
-rw-r--r-- | libavformat/yuv4mpegdec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c index 4ebdb7807c..3f6dac09d3 100644 --- a/libavformat/yuv4mpegdec.c +++ b/libavformat/yuv4mpegdec.c @@ -270,7 +270,7 @@ static int yuv4_read_packet(AVFormatContext *s, AVPacket *pkt) { int i; char header[MAX_FRAME_HEADER+1]; - int width, height, ret, off = avio_tell(s->pb); + int ret, off = avio_tell(s->pb); AVStream *st = s->streams[0]; for (i = 0; i < MAX_FRAME_HEADER; i++) { @@ -290,9 +290,6 @@ static int yuv4_read_packet(AVFormatContext *s, AVPacket *pkt) if (strncmp(header, Y4M_FRAME_MAGIC, strlen(Y4M_FRAME_MAGIC))) return AVERROR_INVALIDDATA; - width = st->codec->width; - height = st->codec->height; - ret = av_get_packet(s->pb, pkt, s->packet_size - Y4M_FRAME_MAGIC_LEN); if (ret < 0) return ret; |