These are accessed as AV_OPT_TYPE_IMAGE_SIZE AVOptions, so must be implemented as (signed) int's --- libavfilter/vf_tile.c | 2 +- libavfilter/vf_untile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c index b45e739bb6..95ac3a1992 100644 --- a/libavfilter/vf_tile.c +++ b/libavfilter/vf_tile.c @@ -34,7 +34,7 @@ typedef struct TileContext { const AVClass *class; - unsigned w, h; + int w, h; unsigned margin; unsigned padding; unsigned overlap; diff --git a/libavfilter/vf_untile.c b/libavfilter/vf_untile.c index f32f3e186b..bfc0998b46 100644 --- a/libavfilter/vf_untile.c +++ b/libavfilter/vf_untile.c @@ -28,7 +28,7 @@ typedef struct UntileContext { const AVClass *class; - unsigned w, h; + int w, h; unsigned current; unsigned nb_frames; AVFrame *frame; -- 2.45.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".