Revision 51e1cc16

View differences:

libavformat/matroskadec.c
2887 2887
                    memcpy (pkt->data, matroska->tracks[track]->encoding_settings, offset);
2888 2888
                memcpy (pkt->data+offset, pkt_data, pkt_size);
2889 2889

  
2890
                if (pkt_data != data)
2891
                    av_free(pkt_data);
2892

  
2890 2893
                if (n == 0)
2891 2894
                    pkt->flags = is_keyframe;
2892 2895
                pkt->stream_index = stream_index;

Also available in: Unified diff