[FFmpeg-soc] [soc]: r3873 - dirac/libavcodec/dirac.c

conrad subversion at mplayerhq.hu
Sat Dec 6 03:01:03 CET 2008


Author: conrad
Date: Sat Dec  6 03:01:03 2008
New Revision: 3873

Log:
Cosmetics


Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Sat Dec  6 03:01:03 2008
@@ -273,18 +273,17 @@ int ff_dirac_parse_sequence_header(GetBi
     unsigned int picture_coding_mode;
 
     /* parse parameters */
-    version_major = svq3_get_ue_golomb(gb);
-    version_minor = svq3_get_ue_golomb(gb);
+    version_major  = svq3_get_ue_golomb(gb);
+    version_minor  = svq3_get_ue_golomb(gb);
+    avctx->profile = svq3_get_ue_golomb(gb);
+    avctx->level   = svq3_get_ue_golomb(gb);
+    video_format   = svq3_get_ue_golomb(gb);
+
     if (version_major < 2)
         av_log(avctx, AV_LOG_WARNING, "Stream is old and may not work\n");
     else if (version_major > 2)
         av_log(avctx, AV_LOG_WARNING, "Stream may have unhandled features\n");
 
-    avctx->profile = svq3_get_ue_golomb(gb);
-    avctx->level   = svq3_get_ue_golomb(gb);
-
-    video_format = svq3_get_ue_golomb(gb);
-
     if (video_format > 20)
         return -1;
 



More information about the FFmpeg-soc mailing list