[FFmpeg-devel] [PATCH] avfilter/vf_v360: check the limit of in_pad and out_pad

Paul B Mahol onemda at gmail.com
Tue Apr 21 17:38:06 EEST 2020


On 4/21/20, Steven Liu <lq at chinaffmpeg.org> wrote:
>
>
>> 2020年4月21日 下午10:28,Paul B Mahol <onemda at gmail.com> 写道:
>>
>> On 4/21/20, Steven Liu <lq at chinaffmpeg.org> wrote:
>>> When i set out_pad=1 it will Segmentation fault
>>> so i think it should check the limit value of the in_pad and out_pad
>>
>> So huge pads do not make sense.
> Yes, just don’t know how to use it, and try to set it to 1, so get the
> exception. :D
>> Limit it to 1/10 in via options.
> What about modify the limit  looks like this ?
> {   "out_pad", "percent output cubemap pads",  OFFSET(out_pad),
> AV_OPT_TYPE_FLOAT,  {.dbl=0.f},           0.f,                 0.1,TFLAGS,

Yes, like that.

> "out_pad"},
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
> Thanks
>
> Steven Liu
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list