void av_register_output_format(AVOutputFormat *format)

{

    AVOutputFormat **p = last_oformat;



    format->next = NULL;

    while(*p || avpriv_atomic_ptr_cas((void * volatile *)p, NULL, format))

        p = &(*p)->next;

    last_oformat = &format->next;

}

void av_register_output_format(AVOutputFormat *format)

{

    AVOutputFormat **p = last_oformat;



    format->next = NULL;

    while(*p || avpriv_atomic_ptr_cas((void * volatile *)p, NULL, format))

        p = &(*p)->next;

    last_oformat = &format->next;

}

    format->next = NULL;     while(*p || avpriv_atomic_ptr_cas((void * volatile *)p, NULL, format))     format->next = NULL;     while(*p || avpriv_atomic_ptr_cas((void * volatile *)p, NULL, format))     last_oformat = &format->next;
void FUNC_0(AVOutputFormat *VAR_0)

{

    AVOutputFormat **p = last_oformat;



    VAR_0->next = NULL;

    while(*p || avpriv_atomic_ptr_cas((void * volatile *)p, NULL, VAR_0))

        p = &(*p)->next;

    last_oformat = &VAR_0->next;

}

void FUNC_0(AVOutputFormat *VAR_0)
{ AVOutputFormat **p = last_oformat; VAR_0->next = NULL; while(*p || avpriv_atomic_ptr_cas((void * volatile *)p, NULL, VAR_0))
p = &(*p)->next; last_oformat = &VAR_0->next; }