The packet a demuxer receives is freshly initialized, hence it is unnecessary to reset any flags on them (as none are set), yet apc did this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> --- libavformat/apc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/apc.c b/libavformat/apc.c index 835d1b0f6e..571726affb 100644 --- a/libavformat/apc.c +++ b/libavformat/apc.c @@ -78,7 +78,6 @@ static int apc_read_packet(AVFormatContext *s, AVPacket *pkt) { if (av_get_packet(s->pb, pkt, MAX_READ_SIZE) <= 0) return AVERROR(EIO); - pkt->flags &= ~AV_PKT_FLAG_CORRUPT; pkt->stream_index = 0; return 0; } -- 2.20.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".