mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
video: remove use of deprecated AVFrame fields on Libav
qscale export has been completely removed from Libav 10, and FFmpeg has an alternative API, so this code does nothing and only causes deprecation warnings on Libav.
This commit is contained in:
parent
05fa813952
commit
cad6425c46
@ -562,10 +562,6 @@ void mp_image_copy_fields_from_av_frame(struct mp_image *dst,
|
||||
|
||||
#if HAVE_AVUTIL_QP_API
|
||||
dst->qscale = av_frame_get_qp_table(src, &dst->qstride, &dst->qscale_type);
|
||||
#else
|
||||
dst->qscale = src->qscale_table;
|
||||
dst->qstride = src->qstride;
|
||||
dst->qscale_type = src->qscale_type;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user