Commit d7397d93 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec. remove redundant code

parent 4581f88b
......@@ -1103,11 +1103,6 @@ static int lavc_GetFrame(struct AVCodecContext *ctx, AVFrame *frame, int flags)
frame->data[i] = pic->p[i].p_pixels;
frame->linesize[i] = pic->p[i].i_pitch;
}
for (unsigned i = PICTURE_PLANE_MAX; i < AV_NUM_DATA_POINTERS; i++)
{
frame->data[i] = NULL;
frame->linesize[i] = 0;
}
return 0;
}
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment