OSDN Git Service

Simplify packet duplication code in ff_interleave_add_packet.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 11 Apr 2009 22:38:00 +0000 (22:38 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 11 Apr 2009 22:38:00 +0000 (22:38 +0000)
commitd2e63e8b0553d400f81285d354f85e778d1cf888
treee0b4925e3276c57e04d0f2f79f37d6626aaa369a
parent031e14ea79eea52987d0abc91b10ab6e398842aa
Simplify packet duplication code in ff_interleave_add_packet.
Behaviour only changes if pkt->destuct neither av_destruct_packet,
av_destruct_packet_nofree nor NULL, in which case the new code avoids a double free.

Originally committed as revision 18452 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c