diff options
Diffstat (limited to 'libavformat/soxdec.c')
-rw-r--r-- | libavformat/soxdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/soxdec.c b/libavformat/soxdec.c index 9ca7673175..a0b65d9160 100644 --- a/libavformat/soxdec.c +++ b/libavformat/soxdec.c @@ -138,6 +138,7 @@ static int sox_read_packet(AVFormatContext *s, ret = av_get_packet(s->pb, pkt, size); if (ret < 0) return AVERROR(EIO); + pkt->flags &= ~AV_PKT_FLAG_CORRUPT; pkt->stream_index = 0; pkt->size = ret; |