From bfe7bace8e93485bebfed58944e30bf515e49ca4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 18 Feb 2012 01:16:37 +0000 Subject: [PATCH] libx264: unbreak libx264rgb Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/libx264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 6279612c82..5610038d16 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -655,7 +655,7 @@ AVCodec ff_libx264rgb_encoder = { .id = CODEC_ID_H264, .priv_data_size = sizeof(X264Context), .init = X264_init, - .encode = X264_frame, + .encode2 = X264_frame, .close = X264_close, .capabilities = CODEC_CAP_DELAY, .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB"),