[FFmpeg-cvslog] frame: Remove some FF_API_AVFRAME_COLORSPACE leftovers

Diego Biurrun git at videolan.org
Thu Aug 14 12:43:03 CEST 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Aug 13 22:35:47 2014 +0200| [e070d0a5ca9047192e324a3f87006b316e2a08a7] | committer: Diego Biurrun

frame: Remove some FF_API_AVFRAME_COLORSPACE leftovers

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e070d0a5ca9047192e324a3f87006b316e2a08a7
---

 libavutil/frame.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 4b154f3..48df311 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -385,13 +385,11 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
     dst->coded_picture_number   = src->coded_picture_number;
     dst->display_picture_number = src->display_picture_number;
     dst->flags                  = src->flags;
-#if FF_API_AVFRAME_COLORSPACE
     dst->color_primaries        = src->color_primaries;
     dst->color_trc              = src->color_trc;
     dst->colorspace             = src->colorspace;
     dst->color_range            = src->color_range;
     dst->chroma_location        = src->chroma_location;
-#endif
 
     memcpy(dst->error, src->error, sizeof(dst->error));
 



More information about the ffmpeg-cvslog mailing list