Changeset 4d70023a in ffmpeg


Ignore:
Timestamp:
Dec 17, 2011, 3:42:04 AM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
f37b2d5a
Parents:
53b6503
Message:

h264: fix init of topleft ref/mv.
Fixes Ticket778

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/h264_mvpred.h

    r53b6503 r4d70023a  
    634634                ref_cache[4 - 1*8]= topright_type ? LIST_NOT_USED : PART_NOT_AVAILABLE;
    635635            }
    636             if(ref_cache[4 - 1*8] < 0){
     636            if(ref_cache[2 - 1*8] < 0 || ref_cache[4 - 1*8] < 0){
    637637                if(USES_LIST(topleft_type, list)){
    638638                    const int b_xy = h->mb2b_xy[topleft_xy] + 3 + b_stride + (h->topleft_partition & 2*b_stride);
Note: See TracChangeset for help on using the changeset viewer.