On Fri, Feb 05, 2016 at 02:49:57AM +0100, Mats Peterson wrote:
> On 02/05/2016 02:46 AM, Michael Niedermayer wrote:
> >stride can be 0 and cause division by 0 later
> >
> 
> It can't, as far as I can see, since I'm checking both avctx->width
> and avctx->height before doing anything else. Furthermore, it's not
> used in any division.

stride = avpkt->size / avctx->height;

avpkt->size < avctx->height;

stride is used in %

 [...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to