[FFmpeg-cvslog] avutil/pixdesc: remove reference to avcodec_get_chroma_sub_sample
Martin Vignali
git at videolan.org
Tue Nov 7 00:17:08 EET 2017
ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Mon Nov 6 22:39:17 2017 +0100| [bb3d62874e87827ce33ac3821ba1ee96d231698d] | committer: James Almer
avutil/pixdesc: remove reference to avcodec_get_chroma_sub_sample
Don't recommend to use deprecated functions.
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb3d62874e87827ce33ac3821ba1ee96d231698d
---
libavutil/pixdesc.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index fc3737c4ad..ea046033a3 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -225,11 +225,6 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc);
* Utility function to access log2_chroma_w log2_chroma_h from
* the pixel format AVPixFmtDescriptor.
*
- * See av_get_chroma_sub_sample() for a function that asserts a
- * valid pixel format instead of returning an error code.
- * Its recommended that you use avcodec_get_chroma_sub_sample unless
- * you do check the return code!
- *
* @param[in] pix_fmt the pixel format
* @param[out] h_shift store log2_chroma_w (horizontal/width shift)
* @param[out] v_shift store log2_chroma_h (vertical/height shift)
More information about the ffmpeg-cvslog
mailing list