summaryrefslogtreecommitdiff
path: root/libavformat/rsodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rsodec.c')
-rw-r--r--libavformat/rsodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rsodec.c b/libavformat/rsodec.c
index 1886116678..3933fc08c6 100644
--- a/libavformat/rsodec.c
+++ b/libavformat/rsodec.c
@@ -80,6 +80,7 @@ static int rso_read_packet(AVFormatContext *s, AVPacket *pkt)
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 */