Merge commit 'dbb43b8b83b097585ec255ec638b61e359ebea77'

* commit 'dbb43b8b83b097585ec255ec638b61e359ebea77':
  avpacket: properly reset data/size in av_packet_move_ref()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
pull/202/head
Derek Buitenhuis 9 years ago
commit 9a98ddcf1b
  1. 2
      libavcodec/avpacket.c

@ -599,6 +599,8 @@ void av_packet_move_ref(AVPacket *dst, AVPacket *src)
{
*dst = *src;
av_init_packet(src);
src->data = NULL;
src->size = 0;
}
void av_packet_rescale_ts(AVPacket *pkt, AVRational src_tb, AVRational dst_tb)

Loading…
Cancel
Save