summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-08-06 19:58:57 +0000
committerAnton Khirnov <anton@khirnov.net>2014-08-09 16:59:13 +0000
commit472f9ed312ec784f7c72876b77163f4741880d05 (patch)
tree2aa508dfe9d0467f653741f40958a90e29cd66a6 /libavcodec/utils.c
parent1985c2e75c607ac51bfd8dc87d2957a5edf2b6f8 (diff)
Remove obsolete FF_API_AVFRAME_COLORSPACE cruft.
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) {