diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-02 19:00:47 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-03 00:41:14 +0200 |
commit | b932eb1be62b47b29969667f14a207e425e79a55 (patch) | |
tree | dbd4730418491bb53e98841177529ad4b0cdc8f6 /libswscale/swscale_internal.h | |
parent | 6713989c231104ff4381ef58f25ec1af8603535b (diff) | |
download | ffmpeg-b932eb1be62b47b29969667f14a207e425e79a55.tar.gz |
swscale: reintroduce sws_format_name() symbol
Reintroduce the internal symbol which was removed in:
commit e1197b9e1746c03b1d13d816d1569aeaf1b71ecc
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Sun May 29 17:57:40 2011 +0200
swscale: remove sws_format_name()
Use av_get_pix_fmt_name() instead.
The symbol is used by some external libs (hi libx264!), this gives
time to them to use the recently added av_get_pix_fmt_name() rather
than an internal symbol.
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 87712be1b3..77a91e12e0 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -349,6 +349,14 @@ void ff_yuv2packedX_altivec(SwsContext *c, const int16_t *lumFilter, const int16_t **chrVSrc, int chrFilterSize, uint8_t *dest, int dstW, int dstY); +#if FF_API_SWS_FORMAT_NAME +/** + * @deprecated Use av_get_pix_fmt_name() instead. + */ +attribute_deprecated +const char *sws_format_name(enum PixelFormat format); +#endif + //FIXME replace this with something faster #define is16BPS(x) ( \ (x)==PIX_FMT_GRAY16BE \ |