From 0daff3ce76329f107e2ca2e893c3c456b5873c77 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 30 Aug 2014 12:16:46 +0200 Subject: avfilter/vf_mp: remove incorrect usage of AVFrame.type Signed-off-by: Michael Niedermayer --- libavfilter/vf_mp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c index 9f0fbf6419..9264e9b677 100644 --- a/libavfilter/vf_mp.c +++ b/libavfilter/vf_mp.c @@ -474,8 +474,6 @@ int ff_vf_next_put_image(struct vf_instance *vf,mp_image_t *mpi, double pts){ picref->width = mpi->w; picref->height = mpi->h; - picref->type = AVMEDIA_TYPE_VIDEO; - for(i=0; conversion_map[i].fmt && mpi->imgfmt != conversion_map[i].fmt; i++); picref->format = conversion_map[i].pix_fmt; -- cgit v1.2.3