summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-15 19:55:26 +0200
committerwm4 <wm4@nowhere>2014-04-15 19:55:26 +0200
commitcad6425c466b29ede88d365eac465563b9c03570 (patch)
tree60813b716fee362483ba17e1e6cffd9caa0bdf93
parent05fa813952708afe727e03f7229a143ec06738b7 (diff)
downloadmpv-cad6425c466b29ede88d365eac465563b9c03570.tar.bz2
mpv-cad6425c466b29ede88d365eac465563b9c03570.tar.xz
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.
-rw-r--r--video/mp_image.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/mp_image.c b/video/mp_image.c
index 49e02e6e6e..b9a15de409 100644
--- a/video/mp_image.c
+++ b/video/mp_image.c
@@ -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
}