]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/swfdec.c
lavf: move AVStream.{*skip_samples.*_discard_sample} to AVStreamInternal
[ffmpeg] / libavformat / swfdec.c
index 2769a768defc7db8f97a2ba2cf2ed25abcca6093..fa11c050cdc3b8e06732686571d9ea04f64ac83e 100644 (file)
@@ -292,7 +292,7 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
                 return AVERROR(ENOMEM);
             ast->duration = avio_rl32(pb); // number of samples
             if (((v>>4) & 15) == 2) { // MP3 sound data record
-                ast->skip_samples = avio_rl16(pb);
+                ast->internal->skip_samples = avio_rl16(pb);
                 len -= 2;
             }
             len -= 7;