]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tee.c
avcodec/h264_sei: Remove "Subtitles with data type 0x%02x" sample request
[ffmpeg] / libavformat / tee.c
index e3d466a3eb7acb3b5b8ca7613eb35934a0492a9d..c619eae5db1093496fceb1ed3f3549c324d95099 100644 (file)
@@ -396,7 +396,7 @@ static int filter_packet(void *log_ctx, AVPacket *pkt,
                                              &new_pkt.data, &new_pkt.size,
                                              pkt->data, pkt->size,
                                              pkt->flags & AV_PKT_FLAG_KEY);
-        if (ret == 0 && new_pkt.data != pkt->data && new_pkt.destruct) {
+        if (ret == 0 && new_pkt.data != pkt->data) {
             if ((ret = av_copy_packet(&new_pkt, pkt)) < 0)
                 break;
             ret = 1;