static void input_callback(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)

{

    if (!buffer->cmd) {

        AVBufferRef *buf = buffer->user_data;

        av_buffer_unref(&buf);

    }

    mmal_buffer_header_release(buffer);

}

static void input_callback(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)

{

    if (!buffer->cmd) {

        AVBufferRef *buf = buffer->user_data;

        av_buffer_unref(&buf);

    }

    mmal_buffer_header_release(buffer);

}

        AVBufferRef *buf = buffer->user_data;         av_buffer_unref(&buf);
static void FUNC_0(MMAL_PORT_T *VAR_0, MMAL_BUFFER_HEADER_T *VAR_1)

{

    if (!VAR_1->cmd) {

        AVBufferRef *buf = VAR_1->user_data;

        av_buffer_unref(&buf);

    }

    mmal_buffer_header_release(VAR_1);

}

static void FUNC_0(MMAL_PORT_T *VAR_0, MMAL_BUFFER_HEADER_T *VAR_1)
{ if (!VAR_1->cmd) { AVBufferRef *buf = VAR_1->user_data; av_buffer_unref(&buf); } mmal_buffer_header_release(VAR_1); }