On Sat, May 18, 2024 at 05:57:43AM +0200, Michael Niedermayer wrote: > Fixes: CID1452425 Logically dead code > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > --- > libavcodec/vp3.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c > index 09527607767..d03a1c9dbc1 100644 > --- a/libavcodec/vp3.c > +++ b/libavcodec/vp3.c > @@ -2001,8 +2001,7 @@ static int vp4_mc_loop_filter(Vp3DecodeContext *s, int > plane, int motion_x, int > x_offset = (-(x + 2) & 7) + 2; > y_offset = (-(y + 2) & 7) + 2; > > - if (x_offset > 8 + x_subpel && y_offset > 8 + y_subpel) > - return 0; > + av_assert1(!(x_offset > 8 + x_subpel && y_offset > 8 + y_subpel)); >
ok -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".