summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-30 12:16:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-30 12:16:46 +0200
commit0daff3ce76329f107e2ca2e893c3c456b5873c77 (patch)
tree3650777a3531ff8660a55852e9967e4c234b583f
parent596636a474ab201badaae269f3a2cef4824b8c1f (diff)
avfilter/vf_mp: remove incorrect usage of AVFrame.type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vf_mp.c2
1 files changed, 0 insertions, 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;