summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index dc7ffc4cec..b115da17f8 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -576,13 +576,11 @@ int ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame)
int size;
AVFrameSideData *frame_sd;
-#if FF_API_AVFRAME_COLORSPACE
frame->color_primaries = avctx->color_primaries;
frame->color_trc = avctx->color_trc;
frame->colorspace = avctx->colorspace;
frame->color_range = avctx->color_range;
frame->chroma_location = avctx->chroma_sample_location;
-#endif
frame->reordered_opaque = avctx->reordered_opaque;
if (!pkt) {