static void h264_free_extradata(PayloadContext *data)

{

#ifdef DEBUG

    int ii;



    for (ii = 0; ii < 32; ii++) {

        if (data->packet_types_received[ii])

            av_log(NULL, AV_LOG_DEBUG, "Received %d packets of type %d\n",

                   data->packet_types_received[ii], ii);

    }

#endif



    assert(data);

    assert(data->cookie == MAGIC_COOKIE);



    // avoid stale pointers (assert)

    data->cookie = DEAD_COOKIE;



    // and clear out this...

    av_free(data);

}

static void h264_free_extradata(PayloadContext *data)

{

#ifdef DEBUG

    int ii;



    for (ii = 0; ii < 32; ii++) {

        if (data->packet_types_received[ii])

            av_log(NULL, AV_LOG_DEBUG, "Received %d packets of type %d\n",

                   data->packet_types_received[ii], ii);

    }

#endif



    assert(data);

    assert(data->cookie == MAGIC_COOKIE);



    

    data->cookie = DEAD_COOKIE;



    

    av_free(data);

}

static void FUNC_0(PayloadContext *VAR_0)

{

#ifdef DEBUG

    int ii;



    for (ii = 0; ii < 32; ii++) {

        if (VAR_0->packet_types_received[ii])

            av_log(NULL, AV_LOG_DEBUG, "Received %d packets of type %d\n",

                   VAR_0->packet_types_received[ii], ii);

    }

#endif



    assert(VAR_0);

    assert(VAR_0->cookie == MAGIC_COOKIE);



    

    VAR_0->cookie = DEAD_COOKIE;



    

    av_free(VAR_0);

}

static void FUNC_0(PayloadContext *VAR_0)
{ #ifdef DEBUG
int ii; for (ii = 0; ii < 32; ii++) { if (VAR_0->packet_types_received[ii])
av_log(NULL, AV_LOG_DEBUG, "Received %d packets of type %d\n",
VAR_0->packet_types_received[ii], ii); } #endif
assert(VAR_0); assert(VAR_0->cookie == MAGIC_COOKIE); VAR_0->cookie = DEAD_COOKIE; av_free(VAR_0); }