avformat/mux: fix memleak of side data in flac fate tests
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Jun 2014 12:32:50 +0000 (14:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Jun 2014 12:38:03 +0000 (14:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mux.c

index 12dedeb..4edb652 100644 (file)
@@ -675,7 +675,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
             av_free(this_pktl);
             return ret;
         }
-        av_copy_packet_side_data(&this_pktl->pkt, &this_pktl->pkt); // copy side data
     }
 
     if (s->streams[pkt->stream_index]->last_in_packet_buffer) {