ff_alloc_extradata() already sets the size of the extradata so doing it again is unnecessary.
Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/segment.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 5f7fe76600..d565183349 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -882,7 +882,6 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt) goto calc_times; } memcpy(st->codecpar->extradata, pkt_extradata, pkt_extradata_size); - st->codecpar->extradata_size = pkt_extradata_size; } } -- 2.20.1 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
