libx264: unbreak libx264rgb
authorPaul B Mahol <onemda@gmail.com>
Sat, 18 Feb 2012 01:16:37 +0000 (01:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Feb 2012 01:31:38 +0000 (02:31 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libx264.c

index 6279612..5610038 100644 (file)
@@ -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"),