OSDN Git Service

Add forgotten void return type to ff_h264_free_context
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 10 Apr 2009 11:31:55 +0000 (11:31 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 10 Apr 2009 11:31:55 +0000 (11:31 +0000)
Originally committed as revision 18411 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c
libavcodec/h264.h

index 3eb1386..99dd52b 100644 (file)
@@ -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;
 
index 1f151af..b58d86a 100644 (file)
@@ -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 */