[vlc-commits] avcodec VA: use the proper type for the pixel format

Steve Lhomme git at videolan.org
Fri Apr 10 15:27:08 CEST 2015


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Apr  7 07:04:45 2015 +0000| [ee80192cde2ead25632923287cabd3c97a33bc27] | committer: Jean-Baptiste Kempf

avcodec VA: use the proper type for the pixel format

makes debugging nicer and errors less likely

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee80192cde2ead25632923287cabd3c97a33bc27
---

 modules/codec/avcodec/va.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/va.h b/modules/codec/avcodec/va.h
index 64dca01..b7e4e35 100644
--- a/modules/codec/avcodec/va.h
+++ b/modules/codec/avcodec/va.h
@@ -35,7 +35,7 @@ struct vlc_va_t {
     vlc_va_sys_t *sys;
     module_t *module;
     const char *description;
-    int pix_fmt;
+    enum PixelFormat pix_fmt;
 
     int  (*setup)(vlc_va_t *, AVCodecContext *, vlc_fourcc_t *output);
     int  (*get)(vlc_va_t *, void **opaque, uint8_t **data);



More information about the vlc-commits mailing list