avpacket: use AVBuffer to allow refcounting the packets.
authorAnton Khirnov <anton@khirnov.net>
Wed, 31 Oct 2012 07:53:18 +0000 (08:53 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 8 Mar 2013 06:33:45 +0000 (07:33 +0100)
commit1afddbe59e96af75f1c07605afc95615569f388f
tree0e8223d9813de6976ec50dc1a5a7c7bf9a099450
parent1cec0624d0e6f48590283a57169b58b9fe8449d3
avpacket: use AVBuffer to allow refcounting the packets.

This will allow us to avoid copying the packets in many cases.

This breaks ABI.
22 files changed:
libavcodec/avcodec.h
libavcodec/avpacket.c
libavcodec/utils.c
libavcodec/version.h
libavdevice/v4l2.c
libavformat/asfdec.c
libavformat/avformat.h
libavformat/avidec.c
libavformat/flacdec.c
libavformat/id3v2.c
libavformat/id3v2.h
libavformat/matroskadec.c
libavformat/matroskaenc.c
libavformat/mp3enc.c
libavformat/mpegts.c
libavformat/mux.c
libavformat/mxg.c
libavformat/psxstr.c
libavformat/rmdec.c
libavformat/rtpdec.c
libavformat/rtpdec_qt.c
libavformat/utils.c