diff mpegvideo.c @ 9028:0f95e4f0a3f5 libavcodec

Add and use ff_pixfmt_list_420.
author michael
date Tue, 24 Feb 2009 18:27:52 +0000
parents 90c99bda19f5
children f49b1c1d2c16
line wrap: on
line diff
--- a/mpegvideo.c	Tue Feb 24 18:24:56 2009 +0000
+++ b/mpegvideo.c	Tue Feb 24 18:27:52 2009 +0000
@@ -75,6 +75,10 @@
     8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
 };
 
+const enum PixelFormat ff_pixfmt_list_420[] = {
+    PIX_FMT_YUV420P,
+    PIX_FMT_NONE
+};
 
 const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
     int i;