Commit fa6c7ccc authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'f7168d70'

* commit 'f7168d70':
  imgconvert: Move AVPicture-related static function to the deprecated section
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents fa48cd88 f7168d70
...@@ -82,6 +82,8 @@ enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *p ...@@ -82,6 +82,8 @@ enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *p
return best; return best;
} }
#if FF_API_AVPICTURE
FF_DISABLE_DEPRECATION_WARNINGS
/* return true if yuv planar */ /* return true if yuv planar */
static inline int is_yuv_planar(const AVPixFmtDescriptor *desc) static inline int is_yuv_planar(const AVPixFmtDescriptor *desc)
{ {
...@@ -103,9 +105,6 @@ static inline int is_yuv_planar(const AVPixFmtDescriptor *desc) ...@@ -103,9 +105,6 @@ static inline int is_yuv_planar(const AVPixFmtDescriptor *desc)
return 1; return 1;
} }
#if FF_API_AVPICTURE
FF_DISABLE_DEPRECATION_WARNINGS
int av_picture_crop(AVPicture *dst, const AVPicture *src, int av_picture_crop(AVPicture *dst, const AVPicture *src,
enum AVPixelFormat pix_fmt, int top_band, int left_band) enum AVPixelFormat pix_fmt, int top_band, int left_band)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment