[FFmpeg-devel] [PATCH] lavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nut

Mats Peterson matsp888 at yahoo.com
Fri Feb 5 02:51:55 CET 2016


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, it is used in a mod division, but it won't be zero anyway.

Mats



More information about the ffmpeg-devel mailing list