[FFmpeg-devel] [PATCH] libx264: unbreak libx264rgb

Paul B Mahol onemda at gmail.com
Sat Feb 18 02:16:37 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/libx264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 6279612..5610038 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"),
-- 
1.7.7



More information about the ffmpeg-devel mailing list