static void release_buffer(AVCodecContext *avctx, AVFrame *pic)

{

    int i;



    CVPixelBufferRef cv_buffer = (CVPixelBufferRef)pic->data[3];

    CVPixelBufferUnlockBaseAddress(cv_buffer, 0);

    CVPixelBufferRelease(cv_buffer);



    for (i = 0; i < 4; i++)

        pic->data[i] = NULL;

}

static void release_buffer(AVCodecContext *avctx, AVFrame *pic)

{

    int i;



    CVPixelBufferRef cv_buffer = (CVPixelBufferRef)pic->data[3];

    CVPixelBufferUnlockBaseAddress(cv_buffer, 0);

    CVPixelBufferRelease(cv_buffer);



    for (i = 0; i < 4; i++)

        pic->data[i] = NULL;

}

static void release_buffer(AVCodecContext *avctx, AVFrame *pic)     int i;     CVPixelBufferRef cv_buffer = (CVPixelBufferRef)pic->data[3];     CVPixelBufferUnlockBaseAddress(cv_buffer, 0);     CVPixelBufferRelease(cv_buffer);     for (i = 0; i < 4; i++)         pic->data[i] = NULL;
static void FUNC_0(AVCodecContext *VAR_0, AVFrame *VAR_1)

{

    int VAR_2;



    CVPixelBufferRef cv_buffer = (CVPixelBufferRef)VAR_1->data[3];

    CVPixelBufferUnlockBaseAddress(cv_buffer, 0);

    CVPixelBufferRelease(cv_buffer);



    for (VAR_2 = 0; VAR_2 < 4; VAR_2++)

        VAR_1->data[VAR_2] = NULL;

}

static void FUNC_0(AVCodecContext *VAR_0, AVFrame *VAR_1)
{ int VAR_2; CVPixelBufferRef cv_buffer = (CVPixelBufferRef)VAR_1->data[3]; CVPixelBufferUnlockBaseAddress(cv_buffer, 0); CVPixelBufferRelease(cv_buffer); for (VAR_2 = 0; VAR_2 < 4; VAR_2++) VAR_1->data[VAR_2] = NULL; }