[FFmpeg-devel] [PATCH] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly
Michael Niedermayer
michael at niedermayer.cc
Fri Jun 7 01:55:47 EEST 2019
On Thu, Jun 06, 2019 at 01:54:41PM +0800, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
> libavfilter/vf_find_rect.c | 37 ++++++++++++++++++++++++++-----------
> 1 file changed, 26 insertions(+), 11 deletions(-)
>
> diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c
> index d7e6579af7..abf7d89d21 100644
> --- a/libavfilter/vf_find_rect.c
> +++ b/libavfilter/vf_find_rect.c
> @@ -28,6 +28,7 @@
> #include "internal.h"
>
> #include "lavfutils.h"
> +#include "lswsutils.h"
>
> #define MAX_MIPMAPS 5
>
> @@ -244,6 +245,7 @@ static av_cold int init(AVFilterContext *ctx)
> {
> FOCContext *foc = ctx->priv;
> int ret, i;
> + AVFrame tmp_frame;
AVFrames size cannot be used outside libavutil as it breaks extensibility
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190607/66ad21d2/attachment.sig>
More information about the ffmpeg-devel
mailing list