Commit 0daff3ce authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_mp: remove incorrect usage of AVFrame.type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 596636a4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment