]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/au.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / au.c
index aa52a96ea16fc3b5bf2738d49747b2bc6795b9f6..b78d1ac18ef8a8421841518dd0576df4ec54b63f 100644 (file)
@@ -187,11 +187,8 @@ static int au_read_packet(AVFormatContext *s,
                        av_get_bits_per_sample(s->streams[0]->codec->codec_id) >> 3);
     if (ret < 0)
         return ret;
+    pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
     pkt->stream_index = 0;
-
-    /* note: we need to modify the packet size here to handle the last
-       packet */
-    pkt->size = ret;
     return 0;
 }