summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-05-11 04:34:23 +0000
committerDavid Conrad <lessen42@gmail.com>2009-05-11 04:34:23 +0000
commit580a7465fb416782a1d5ad95011351b9c257f0de (patch)
treef26ec625283620ebc2c6df689bd6cbffba0d6cc8 /libavcodec/dv.c
parent014b7ecb6643332af35251c751aebd04bac4bb1e (diff)
Add a chroma_sample_location field to define positioning of chroma samples
Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index a43e6e43b6..774b0a73cb 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -393,6 +393,7 @@ static av_cold int dvvideo_init(AVCodecContext *avctx)
avctx->coded_frame = &s->picture;
s->avctx = avctx;
+ avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT;
return 0;
}