diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-22 01:24:44 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-22 01:24:44 +0300 |
commit | a61ec8e7ae1f74716142d72c07740f90c33ff67b (patch) | |
tree | 6607e192bc93f75c5582ed97a55835d5a592f2d4 /libavcodec/imgconvert.h | |
parent | cc9aced32f554e51e3bc5f46a5aa36a9927957a2 (diff) |
Globally prefer enum PixelFormat over int when it makes sense.
Originally committed as revision 18129 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.h')
-rw-r--r-- | libavcodec/imgconvert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/imgconvert.h b/libavcodec/imgconvert.h index ed9a6b73b1..48e2f12719 100644 --- a/libavcodec/imgconvert.h +++ b/libavcodec/imgconvert.h @@ -27,9 +27,9 @@ #include <stdint.h> #include "avcodec.h" -int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width); +int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); -int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height); +int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height); int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); |