summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r--video/decode/vd_lavc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index f036a630b5..513eded9a4 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -1167,12 +1167,6 @@ static bool decode_frame(struct dec_video *vd)
mp_pts_from_av(av_frame_get_pkt_duration(ctx->pic), &ctx->codec_timebase);
#endif
-#if HAVE_AVUTIL_ICC_PROFILE
- sd = av_frame_get_side_data(ctx->pic, AV_FRAME_DATA_ICC_PROFILE);
- if (sd)
- mpi->icc_profile = av_buffer_ref(sd->buf);
-#endif
-
update_image_params(vd, ctx->pic, &mpi->params);
av_frame_unref(ctx->pic);