Merge commit '2a06c2a03e1205aaeede5af850b9271752ddd4cf'
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Jan 2015 20:59:18 +0000 (21:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Jan 2015 21:03:21 +0000 (22:03 +0100)
* commit '2a06c2a03e1205aaeede5af850b9271752ddd4cf':
  mpegvideo_enc: Draw edges on input for non-multiple of 16 resolutions

Conflicts:
libavcodec/mpegvideo_enc.c

See: 1e78679768b3a1ef336c5b52aa5027d8a50fcf0d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
libavcodec/mpegvideo_enc.c

@@@ -1190,11 -1048,11 +1190,11 @@@ static int load_input_picture(MpegEncCo
                              src += src_stride;
                          }
                      }
 -                    if ((s->width & 15) || (s->height & 15)) {
 +                    if ((s->width & 15) || (s->height & (vpad-1))) {
                          s->mpvencdsp.draw_edges(dst, dst_stride,
                                                  w, h,
-                                                 16>>h_shift,
-                                                 vpad>>v_shift,
+                                                 16 >> h_shift,
 -                                                16 >> v_shift,
++                                                vpad >> v_shift,
                                                  EDGE_BOTTOM);
                      }
                  }