On Sun, Jun 30, 2013 at 06:26:17PM +0200, Luca Barbato wrote: > The same is done already for qdelta. > > Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind > CC: [email protected] > --- > libavcodec/ivi_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c > index 39e9f92..4eee19b 100644 > --- a/libavcodec/ivi_common.c > +++ b/libavcodec/ivi_common.c > @@ -603,7 +603,7 @@ static int ivi_process_empty_tile(AVCodecContext *avctx, > IVIBandDesc *band, > if (band->inherit_qdelta && ref_mb) > mb->q_delta = ref_mb->q_delta; > > - if (band->inherit_mv) { > + if (band->inherit_mv && ref_mb) { > /* motion vector inheritance */ > if (mv_scale) { > mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); > --
looks OK _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
