avfilter/vf_mp: remove incorrect usage of AVFrame.type
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Aug 2014 10:16:46 +0000 (12:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Aug 2014 10:16:46 +0000 (12:16 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_mp.c

index 9f0fbf6..9264e9b 100644 (file)
@@ -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->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;
 
     for(i=0; conversion_map[i].fmt && mpi->imgfmt != conversion_map[i].fmt; i++);
     picref->format = conversion_map[i].pix_fmt;