changeset 1465:194c2f643d2c

PIX_FMT_YUV422P undeclared error fixed
author arpi
date Wed, 08 Aug 2001 19:36:54 +0000
parents 891d8b59f2f1
children 7845f6d7c4ba
files dec_video.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Wed Aug 08 15:20:40 2001 +0000
+++ b/dec_video.c	Wed Aug 08 19:36:54 2001 +0000
@@ -418,8 +418,10 @@
      case PIX_FMT_YUV422: x="YUV422";break;
      case PIX_FMT_RGB24: x="RGB24";break;
      case PIX_FMT_BGR24: x="BGR24";break;
+#ifdef PIX_FMT_YUV422P
      case PIX_FMT_YUV422P: x="YUV422P";break;
      case PIX_FMT_YUV444P: x="YUV444P";break;
+#endif
      }
      printf("DONE -> got_picture=%d  format=0x%X (%s) \n",got_picture,
 	lavc_context.pix_fmt,x);