mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
frame: Remove some FF_API_AVFRAME_COLORSPACE leftovers
This commit is contained in:
parent
ab059f0aa8
commit
e070d0a5ca
@ -385,13 +385,11 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
|
|||||||
dst->coded_picture_number = src->coded_picture_number;
|
dst->coded_picture_number = src->coded_picture_number;
|
||||||
dst->display_picture_number = src->display_picture_number;
|
dst->display_picture_number = src->display_picture_number;
|
||||||
dst->flags = src->flags;
|
dst->flags = src->flags;
|
||||||
#if FF_API_AVFRAME_COLORSPACE
|
|
||||||
dst->color_primaries = src->color_primaries;
|
dst->color_primaries = src->color_primaries;
|
||||||
dst->color_trc = src->color_trc;
|
dst->color_trc = src->color_trc;
|
||||||
dst->colorspace = src->colorspace;
|
dst->colorspace = src->colorspace;
|
||||||
dst->color_range = src->color_range;
|
dst->color_range = src->color_range;
|
||||||
dst->chroma_location = src->chroma_location;
|
dst->chroma_location = src->chroma_location;
|
||||||
#endif
|
|
||||||
|
|
||||||
memcpy(dst->error, src->error, sizeof(dst->error));
|
memcpy(dst->error, src->error, sizeof(dst->error));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user