Commit 76c5e75c authored by Jon Lech Johansen's avatar Jon Lech Johansen

* Fixed a problem with field streams not working with new video decoder.

parent 985a4b90
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vpar_blocks.c : blocks parsing * vpar_blocks.c : blocks parsing
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_blocks.c,v 1.7 2001/08/23 10:08:26 massiot Exp $ * $Id: vpar_blocks.c,v 1.8 2001/09/04 23:21:34 jlj Exp $
* *
* Authors: Michel Lespinasse <walken@zoy.org> * Authors: Michel Lespinasse <walken@zoy.org>
* Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
...@@ -1812,7 +1812,8 @@ static __inline__ void ParseSlice( vpar_thread_t * p_vpar, ...@@ -1812,7 +1812,8 @@ static __inline__ void ParseSlice( vpar_thread_t * p_vpar,
pp_forward_ref[!p_vpar->picture.b_current_field] = pp_forward_ref[!p_vpar->picture.b_current_field] =
p_vpar->picture.p_picture; p_vpar->picture.p_picture;
} }
if( i_coding_type != I_CODING_TYPE || p_vpar->picture.b_concealment_mv ) if( ( i_coding_type != I_CODING_TYPE ||
p_vpar->picture.b_concealment_mv ) && pp_forward_ref[1] != NULL )
{ {
p_f_motion->pppi_ref[1][0] = p_f_motion->pppi_ref[1][0] =
pp_forward_ref[1]->p_y + i_offset * 4 + i_width; pp_forward_ref[1]->p_y + i_offset * 4 + i_width;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment