mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
avfilter/vf_mp: remove incorrect usage of AVFrame.type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
596636a474
commit
0daff3ce76
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue