Changes between Version 1 and Version 2 of Ticket #2190, comment 9


Ignore:
Timestamp:
Jan 27, 2013, 3:02:33 PM (3 years ago)
Author:
ulatekh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2190, comment 9

    v1 v2  
    1 One more change needed... 
    2  
     1Sorry, let me try that again...it should read 
    32{{{ 
    43inter = st->codec->field_order == AV_FIELD_TT ? 't' : 'b'; 
    54}}} 
     5The old version would always evaluate to 't' whether st->codec->field_order was AV_FIELD_TT or AV_FIELD_TB. 
    66 
    7 The old version would always evaluate to 't' whether st->codec->field_order was AV_FIELD_TT or AV_FIELD_TB. 
     7The same thing happens in the patches for libavcodec/ffv1dec.c and libavcodec/huffyuvdec.c: 
     8{{{ 
     9if (avctx->field_order == AV_FIELD_TT || avctx->field_order == AV_FIELD_TB) 
     10    p->top_field_first = 1; 
     11}}} 
     12should be 
     13{{{ 
     14p->top_field_first = (avctx->field_order == AV_FIELD_TT); 
     15}}}