Ticket #6289: patchswapuv.diff

File patchswapuv.diff, 412 bytes (added by Carl Eugen Hoyos, 9 years ago)
  • libavcodec/h263dec.c

    diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
    index 0776664..7256e10 100644
    a b frame_end:  
    711711        }
    712712        *got_frame = 1;
    713713    }
     714    if (s->codec_tag == AV_RL32("L263"))
     715        FFSWAP(uint8_t *, pict->data[1], pict->data[2]);
    714716
    715717    if (slice_ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE))
    716718        return slice_ret;