if ((width & 1) != 0 || (height & 3) != 0)
if ((width & 3) != 0 || (height & 3) != 0)
int avpicture_deinterlace(AVPicture *dst, AVPicture *src,                          int pix_fmt, int width, int height){    int i;    if (pix_fmt != PIX_FMT_YUV420P &&        pix_fmt != PIX_FMT_YUV422P &&        pix_fmt != PIX_FMT_YUV444P)        return -1;    if ((width & 1) != 0 || (height & 3) != 0)        return -1;        for(i=0;i<3;i++) {        if (i == 1) {            switch(pix_fmt) {            case PIX_FMT_YUV420P:                width >>= 1;                height >>= 1;                break;            case PIX_FMT_YUV422P:                width >>= 1;                break;            default:                break;            }        }        deinterlace_bottom_field(dst->data[i], dst->linesize[i],                                 src->data[i], src->linesize[i],                                 width, height);    }    return 0;}