static void release_unused_pictures(H264Context *h, int remove_current)

{

    int i;



    /* release non reference frames */

    for (i = 0; i < MAX_PICTURE_COUNT; i++) {

        if (h->DPB[i].f.data[0] && !h->DPB[i].reference &&

            (remove_current || &h->DPB[i] != h->cur_pic_ptr)) {

            unref_picture(h, &h->DPB[i]);

        }

    }

}

static void release_unused_pictures(H264Context *h, int remove_current)

{

    int i;



    

    for (i = 0; i < MAX_PICTURE_COUNT; i++) {

        if (h->DPB[i].f.data[0] && !h->DPB[i].reference &&

            (remove_current || &h->DPB[i] != h->cur_pic_ptr)) {

            unref_picture(h, &h->DPB[i]);

        }

    }

}

static void FUNC_0(H264Context *VAR_0, int VAR_1)

{

    int VAR_2;



    

    for (VAR_2 = 0; VAR_2 < MAX_PICTURE_COUNT; VAR_2++) {

        if (VAR_0->DPB[VAR_2].f.data[0] && !VAR_0->DPB[VAR_2].reference &&

            (VAR_1 || &VAR_0->DPB[VAR_2] != VAR_0->cur_pic_ptr)) {

            unref_picture(VAR_0, &VAR_0->DPB[VAR_2]);

        }

    }

}

static void FUNC_0(H264Context *VAR_0, int VAR_1)
{ int VAR_2; for (VAR_2 = 0; VAR_2 < MAX_PICTURE_COUNT; VAR_2++) { if (VAR_0->DPB[VAR_2].f.data[0] && !VAR_0->DPB[VAR_2].reference &&
(VAR_1 || &VAR_0->DPB[VAR_2] != VAR_0->cur_pic_ptr)) { unref_picture(VAR_0, &VAR_0->DPB[VAR_2]); } } }