On 02/05/2016 02:53 AM, Mats Peterson wrote:
On 02/05/2016 02:49 AM, 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.
Well, I suppose it can as the result of avctx->width / 8 ...
No, I don't think it can, because of "+ (avctx->width & 7 ? 1 : 0) for
the "is_nut_mono()" case.
Mats
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel