Skip to content

Commit a407c6b

Browse files
committed
lavc: Fix r12l_to_gbrp12le conversion
1 parent 7cc5726 commit a407c6b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libavcodec/to_lavc_vid_conv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,6 @@ static void r12l_to_gbrp16le(AVFrame * __restrict out_frame, const unsigned char
11331133
static void r12l_to_gbrp12le(AVFrame * __restrict out_frame, const unsigned char * __restrict in_data, int width, int height)
11341134
{
11351135
r12l_to_gbrpXXle(out_frame, in_data, width, height, 12U);
1136-
memset(out_frame->data[1], 255, 5000);
11371136
}
11381137

11391138
static void rg48_to_gbrp12le(AVFrame * __restrict out_frame, const unsigned char * __restrict in_data, int width, int height)

0 commit comments

Comments
 (0)