[Ffmpeg-devel] [PATCH] fix return statement in xvmcvideo.c

Ivan Kalvachev ikalvachev
Thu Oct 12 11:11:20 CEST 2006

2006/10/11, Michael Niedermayer <michaelni at gmx.at>:
> Hi
> On Sun, Oct 08, 2006 at 06:03:19PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> > Fixes:
> > xvmcvideo.c: In function ???XVMC_decode_mb???:
> > xvmcvideo.c:141: warning: ???return??? with a value, in function returning void
> maintainer ivan ping!
> anyway id say change this to a assert() and check somewhere else for
> encoding && xvmc

The patch is OK.
I agree this is assert() domain as there is no way this code to be
called for encoding... I've just been too paranoid :).

More information about the ffmpeg-devel mailing list