diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-13 08:03:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-24 12:37:51 +0200 |
commit | 57aa765971878ff678abbe3bf1bfd9407b9e5a00 (patch) | |
tree | 2ecf14142873ea65f24921d346303da1028b1871 /libavcodec/msmpeg4.c | |
parent | 7f3a7b5c40b7fda09cbba4bb53e1ced133970930 (diff) | |
download | ffmpeg-57aa765971878ff678abbe3bf1bfd9407b9e5a00.tar.gz |
lavc: remove msmpeg4v1 encoder.
The encoder has never produced files that could be decoded
with any software and there should be no reason to create
such files anyway.
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r-- | libavcodec/msmpeg4.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 6c9c2096a2..84ba1fa76a 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -846,13 +846,6 @@ static void msmpeg4_encode_dc(MpegEncContext * s, int level, int n, int *dir_ptr int pred, extquant; int extrabits = 0; - if(s->msmpeg4_version==1){ - int32_t *dc_val; - pred = msmpeg4v1_pred_dc(s, n, &dc_val); - - /* update predictor */ - *dc_val= level; - }else{ int16_t *dc_val; pred = msmpeg4_pred_dc(s, n, &dc_val, dir_ptr); @@ -862,7 +855,6 @@ static void msmpeg4_encode_dc(MpegEncContext * s, int level, int n, int *dir_ptr } else { *dc_val = level * s->c_dc_scale; } - } /* do the prediction */ level -= pred; |