X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ftee.c;h=821d23d407f6520702b8b5a0bc1a14d1eb0a1cb0;hb=5fc17edc7dcec5ea2989a0d764f3cfb666a7e663;hp=af52a490c6d4f8b27998bcc80f74bbf1bcf28cb4;hpb=24563c20f181cb9d7015e9595d9cb6846cf02dfa;p=ffmpeg diff --git a/libavformat/tee.c b/libavformat/tee.c index af52a490c6d..821d23d407f 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -424,6 +424,8 @@ static int filter_packet(void *log_ctx, AVPacket *pkt, } if (ret > 0) { + pkt->side_data = NULL; + pkt->side_data_elems = 0; av_packet_unref(pkt); new_pkt.buf = av_buffer_create(new_pkt.data, new_pkt.size, av_buffer_default_free, NULL, 0);