changeset 4658:31ebbdad594e libavcodec

cosmetic
author michael
date Tue, 13 Mar 2007 22:51:49 +0000
parents e1939f338a0e
children 83dad4f266a6
files mpegvideo.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Tue Mar 13 22:51:11 2007 +0000
+++ b/mpegvideo.c	Tue Mar 13 22:51:49 2007 +0000
@@ -625,14 +625,11 @@
 
 #ifdef CONFIG_ENCODERS
 static void MPV_encode_defaults(MpegEncContext *s){
+    int i;
     MPV_common_defaults(s);
 
-    {
-        int i;
-
-        for(i=-16; i<16; i++){
-            default_fcode_tab[i + MAX_MV]= 1;
-        }
+    for(i=-16; i<16; i++){
+        default_fcode_tab[i + MAX_MV]= 1;
     }
     s->me.mv_penalty= default_mv_penalty;
     s->fcode_tab= default_fcode_tab;