[FFmpeg-soc] [soc] Don't copy padding_bug_score.

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 15 17:46:00 CEST 2008


On Tue, Jul 15, 2008 at 04:19:29AM -0400, Alexander Strange wrote:
> ---
>  libavcodec/mpegvideo.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> index 322cfc2..cb2d75f 100644
> --- a/libavcodec/mpegvideo.c
> +++ b/libavcodec/mpegvideo.c
> @@ -389,7 +389,6 @@ void MPV_update_picture_pointers(MpegEncContext *dst, MpegEncContext *src){
>  
>      //copy mpeg4 pts info
>      memcpy(&dst->time_increment_bits, &src->time_increment_bits, (char*)&src->shape - (char*)&src->time_increment_bits);
> -    dst->padding_bug_score = src->padding_bug_score;
>  
>      //memcpy(dst->mbintra_table, src->mbintra_table, mb_array_size);  //FIXME why does copying this break decoding?

Useless subject. Esp. with one line changes there is very little point
in repeating _what_ the patch does, but the _why_ is critical.



More information about the FFmpeg-soc mailing list