summaryrefslogtreecommitdiff
path: root/libavcodec/flvenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-10 10:30:05 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-19 08:26:30 +0100
commit445a7d48b13c8c6607b69156233fc8d5fed3b396 (patch)
tree26eabe049019664b187277a293ac26d25416391b /libavcodec/flvenc.c
parent5455384219d873d0d2ddaeb7098da659f4207058 (diff)
mpegvideo_enc: switch to encode2().
Diffstat (limited to 'libavcodec/flvenc.c')
-rw-r--r--libavcodec/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c
index 822dba9082..332592d623 100644
--- a/libavcodec/flvenc.c
+++ b/libavcodec/flvenc.c
@@ -90,7 +90,7 @@ AVCodec ff_flv_encoder = {
.id = CODEC_ID_FLV1,
.priv_data_size = sizeof(MpegEncContext),
.init = ff_MPV_encode_init,
- .encode = ff_MPV_encode_picture,
+ .encode2 = ff_MPV_encode_picture,
.close = ff_MPV_encode_end,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
.long_name= NULL_IF_CONFIG_SMALL("Flash Video (FLV) / Sorenson Spark / Sorenson H.263"),