On Sat, Aug 18, 2012 at 10:57:14PM +0600, Mashiat Sarker Shakkhar wrote:
> Interlaced field pictures can have one or two reference pictures, signaled
nit: unless you're Diego or from US colony right form is "signalled"
> by NUMREF syntax element. For single reference pictures, reference picture
> is determined by REFFIELD syntax element.
> ---
> libavcodec/vc1dec.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
> index 3e73a1c..5f709ed 100644
> --- a/libavcodec/vc1dec.c
> +++ b/libavcodec/vc1dec.c
> @@ -794,6 +794,7 @@ static void vc1_mc_4mv_chroma(VC1Context *v, int dir)
> /* calculate chroma MV vector from four luma MVs */
> if (!v->field_mode || (v->field_mode && !v->numref)) {
> valid_count = get_chroma_mv(mvx, mvy, intra, 0, &tx, &ty);
> + chroma_ref_type = v->reffield;
> if (!valid_count) {
> s->current_picture.f.motion_val[1][s->block_index[0] +
> v->blocks_off][0] = 0;
> s->current_picture.f.motion_val[1][s->block_index[0] +
> v->blocks_off][1] = 0;
> --
looks OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel