Anton Khirnov <[email protected]> writes: > The encoder has never produced files that could be decoded > with any software and there should be no reason to create > such files anyway. > --- > Found one more hunk, are there any others? > --- > libavcodec/Makefile | 2 -- > libavcodec/allcodecs.c | 2 +- > libavcodec/mpegvideo_enc.c | 21 --------------------- > libavcodec/msmpeg4.c | 8 -------- > libavcodec/msmpeg4.h | 3 +-- > 5 files changed, 2 insertions(+), 34 deletions(-) > > diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c > index 6c9c209..84ba1fa 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);
Is msmpeg4v1_pred_dc() used anywhere else? If not, it should also be removed. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
