[FFmpeg-cvslog] avcodec/utils: Fix 'ISO C90 forbids mixed declarations and code'

Michael Niedermayer git at videolan.org
Thu Mar 3 21:28:52 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Mar  3 21:19:32 2016 +0100| [fbfd2601f6604fbdfcbd4906dad13ca099905b06] | committer: Michael Niedermayer

avcodec/utils: Fix 'ISO C90 forbids mixed declarations and code'

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index f435588..b993899 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -3682,9 +3682,9 @@ AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx)
 
 #ifdef TEST
 int main(void){
-    avcodec_register_all();
     AVCodec *codec = NULL;
     int ret = 0;
+    avcodec_register_all();
 
     while (codec = av_codec_next(codec)) {
         if (av_codec_is_encoder(codec)) {



More information about the ffmpeg-cvslog mailing list