From cbf1eae9a53ecf2c5052a4b6563aab3913ad31fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Fri, 10 Apr 2009 11:31:55 +0000 Subject: [PATCH] Add forgotten void return type to ff_h264_free_context Originally committed as revision 18411 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 +- libavcodec/h264.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 3eb1386..99dd52b 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -8083,7 +8083,7 @@ int main(void){ #endif /* TEST */ -av_cold ff_h264_free_context(H264Context *h) +av_cold void ff_h264_free_context(H264Context *h) { int i; diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 1f151af..b58d86a 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -572,6 +572,6 @@ int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src); /** * frees any data that may have been allocated in the H264 context like SPS, PPS etc. */ -av_cold ff_h264_free_context(H264Context *h); +av_cold void ff_h264_free_context(H264Context *h); #endif /* AVCODEC_H264_H */ -- 2.7.4