[FFmpeg-cvslog] ff_mpeg4videodec_static_init: fix return type

Michael Niedermayer git at videolan.org
Sat Nov 17 02:43:40 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 17 02:31:11 2012 +0100| [84281d111c957f8c71691178bdcbc66c7c352f41] | committer: Michael Niedermayer

ff_mpeg4videodec_static_init: fix return type

Fixes CID743439
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84281d111c957f8c71691178bdcbc66c7c352f41
---

 libavcodec/mpeg4video.h    |    2 +-
 libavcodec/mpeg4videodec.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mpeg4video.h b/libavcodec/mpeg4video.h
index 619fcd8..97c39b6 100644
--- a/libavcodec/mpeg4video.h
+++ b/libavcodec/mpeg4video.h
@@ -101,7 +101,7 @@ int ff_mpeg4_decode_partitions(MpegEncContext *s);
 int ff_mpeg4_get_video_packet_prefix_length(MpegEncContext *s);
 int ff_mpeg4_decode_video_packet_header(MpegEncContext *s);
 void ff_mpeg4_init_direct_mv(MpegEncContext *s);
-int ff_mpeg4videodec_static_init(void);
+void ff_mpeg4videodec_static_init(void);
 
 /**
  *
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index b78f735..a55ab34 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2255,7 +2255,7 @@ end:
     return decode_vop_header(s, gb);
 }
 
-av_cold int ff_mpeg4videodec_static_init(void) {
+av_cold void ff_mpeg4videodec_static_init(void) {
     static int done = 0;
 
     if (!done) {



More information about the ffmpeg-cvslog mailing list