]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sol.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / sol.c
index 698502e03663916dd383386c12df70686e35e9a0..8650f0b355c581e16bf1c82b220e6c5cc90a34f0 100644 (file)
@@ -133,11 +133,8 @@ static int sol_read_packet(AVFormatContext *s,
     ret= av_get_packet(s->pb, pkt, MAX_SIZE);
     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;
 }