]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/svs.c
avformat/adp, svs: Remove redundant av_shrink_packet()
[ffmpeg] / libavformat / svs.c
index d4285ed3069b8ba569bb187635e0d77cf1b8b6da..8be26c5bc33401a1a47af7286436412d0cabf1ac 100644 (file)
@@ -79,7 +79,6 @@ static int svs_read_packet(AVFormatContext *s, AVPacket *pkt)
     if (ret != 32 * 256) {
         if (ret < 0)
             return ret;
-        av_shrink_packet(pkt, ret);
         pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
     }
     pkt->stream_index = 0;