diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-12 19:06:04 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-12 19:06:04 +0400 |
commit | 81c1ecabab93ad279092925872cfd13db07a6c6e (patch) | |
tree | d6134165b62ed1c8f89af474f031034e68d95c68 /libavcodec/imgconvert.h | |
parent | 7906e2b974566c897526a8a7561b380687af8323 (diff) |
Deprecate ff_get_plane_bytewidth() in favor of
av_get_image_linesize().
Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.h')
-rw-r--r-- | libavcodec/imgconvert.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.h b/libavcodec/imgconvert.h index f09fcbfc0e..0f2c2e1713 100644 --- a/libavcodec/imgconvert.h +++ b/libavcodec/imgconvert.h @@ -33,9 +33,10 @@ int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); attribute_deprecated int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height); -#endif +attribute_deprecated int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); +#endif int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); |