aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-13 22:51:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-13 22:51:49 +0000
commit861450d551390ebbe22c7c6360224a89f144f112 (patch)
tree5f8f61efe2bd51319eb8f1e165da57cf54b44fa8 /libavcodec/mpegvideo.c
parent3e207bb1bd822ee1bce3e2de4c784702e0b6e24a (diff)
downloadffmpeg-861450d551390ebbe22c7c6360224a89f144f112.tar.gz
cosmetic
Originally committed as revision 8392 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 416f4d846f..5b4638fdfc 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -625,14 +625,11 @@ void MPV_decode_defaults(MpegEncContext *s){
#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;