[FFmpeg-cvslog] avfilter/vf_mp: remove incorrect usage of AVFrame.type

Michael Niedermayer git at videolan.org
Sat Aug 30 12:38:49 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 30 12:16:46 2014 +0200| [0daff3ce76329f107e2ca2e893c3c456b5873c77] | committer: Michael Niedermayer

avfilter/vf_mp: remove incorrect usage of AVFrame.type

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0daff3ce76329f107e2ca2e893c3c456b5873c77
---

 libavfilter/vf_mp.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c
index 9f0fbf6..9264e9b 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;
 



More information about the ffmpeg-cvslog mailing list