ff_mpeg4videodec_static_init: fix return type
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 17 Nov 2012 01:31:11 +0000 (02:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 17 Nov 2012 01:31:11 +0000 (02:31 +0100)
Fixes CID743439
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg4video.h
libavcodec/mpeg4videodec.c

index 619fcd8..97c39b6 100644 (file)
@@ -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);
 
 /**
  *
index b78f735..a55ab34 100644 (file)
@@ -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) {