summaryrefslogtreecommitdiff
path: root/libavformat/sol.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r--libavformat/sol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c
index 698502e036..b2ecd82c46 100644
--- a/libavformat/sol.c
+++ b/libavformat/sol.c
@@ -133,6 +133,7 @@ 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