[Libav-user] VDPAU wierd error

Mihai Chindea mihai.chindea at uti.eu.com
Wed Sep 7 18:58:21 EEST 2016


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[ 0 ] > UINT32_MAX)" ??

Thank you,
Mihai,



More information about the Libav-user mailing list