]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rpl.c
Remove unused variables
[ffmpeg] / libavformat / rpl.c
index 1ca4a86d1b31dac9ca4f046e8b0ffc37e3d123b6..935b81d7d8b19b15fde7de59264af21fe5d1d889 100644 (file)
@@ -299,9 +299,9 @@ static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt)
         stream->codec->codec_tag == 124) {
         // We have to split Escape 124 frames because there are
         // multiple frames per chunk in Escape 124 samples.
-        uint32_t frame_size, frame_flags;
+        uint32_t frame_size;
 
-        frame_flags = avio_rl32(pb);
+        avio_skip(pb, 4); /* flags */
         frame_size = avio_rl32(pb);
         if (avio_seek(pb, -8, SEEK_CUR) < 0)
             return AVERROR(EIO);