[Libav-user] VDPAU wierd error

Mihai Chindea 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

hello,

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)" ??

Thank you,
Mihai,
__________________________________________________________

Also the same condition appears at line 356.
Is this the desired behavior ?
Thank you,
Mihai,


More information about the Libav-user mailing list