summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-21 22:24:44 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-21 22:24:44 +0000
commita61ec8e7ae1f74716142d72c07740f90c33ff67b (patch)
tree6607e192bc93f75c5582ed97a55835d5a592f2d4 /libavcodec/imgconvert.h
parentcc9aced32f554e51e3bc5f46a5aa36a9927957a2 (diff)
downloadffmpeg-a61ec8e7ae1f74716142d72c07740f90c33ff67b.tar.gz
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.h4
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);