Remove obsolete FF_API_AVFRAME_COLORSPACE cruft.

This commit is contained in:
Anton Khirnov
2014-08-06 19:58:57 +00:00
parent 1985c2e75c
commit 472f9ed312
4 changed files with 0 additions and 9 deletions

View File

@@ -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) {