[Libav-user] VDPAU wierd error
mihai.chindea at uti.eu.com
Wed Sep 7 19:04:07 EEST 2016
From: Mihai Chindea
Sent: Wednesday, September 07, 2016 6:58 PM
To: libav-user at ffmpeg.org
Subject: VDPAU wierd error
i keep getting this error "The linesize 1280 cannot be represented as uint32" when I call av_hwframe_transfer_data(), apparently it's source is in libavuil\hwcontext_vdpau.c:307.
is this condition "if (dst->linesize[i] < 0 || (uint64_t)dst->linesize > UINT32_MAX) " desired ?
shouldn't it be "if(dst->linesize[i] < 0 || (uint64_t)dst->linesize[ i ] > UINT32_MAX)" ??
Also the same condition appears at line 356.
Is this the desired behavior ?
More information about the Libav-user