diff dv.c @ 9626:bd3e11b60ccd libavcodec

Add a chroma_sample_location field to define positioning of chroma samples
author conrad
date Mon, 11 May 2009 04:34:23 +0000
parents 0dce4fe6e6f3
children e52891e48ceb
line wrap: on
line diff
--- a/dv.c	Mon May 11 02:41:50 2009 +0000
+++ b/dv.c	Mon May 11 04:34:23 2009 +0000
@@ -393,6 +393,7 @@
 
     avctx->coded_frame = &s->picture;
     s->avctx = avctx;
+    avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT;
 
     return 0;
 }