diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-04-30 12:06:34 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-04-30 12:06:34 +0000 |
commit | ce1d9c851cf73d33a99562a9d4ddb435fbc73228 (patch) | |
tree | a4066aeefc73b3e2fd7dff5dea2a1b240c770fc3 /libavcodec/avcodec.h | |
parent | f0a75e66b94c671f62357bdadf64d857f92f8f42 (diff) | |
download | ffmpeg-ce1d9c851cf73d33a99562a9d4ddb435fbc73228.tar.gz |
Export av_free_packet().
Originally committed as revision 18719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a857baf72a..73181c1d1b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVCODEC_VERSION_MAJOR 52 -#define LIBAVCODEC_VERSION_MINOR 27 +#define LIBAVCODEC_VERSION_MINOR 28 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -2681,13 +2681,7 @@ int av_dup_packet(AVPacket *pkt); * * @param pkt packet to free */ -static inline void av_free_packet(AVPacket *pkt) -{ - if (pkt) { - if (pkt->destruct) pkt->destruct(pkt); - pkt->data = NULL; pkt->size = 0; - } -} +void av_free_packet(AVPacket *pkt); /* resample.c */ |