summaryrefslogtreecommitdiff
path: root/libavcodec/wmv2enc.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/wmv2enc.c
parent5455384219d873d0d2ddaeb7098da659f4207058 (diff)
mpegvideo_enc: switch to encode2().
Diffstat (limited to 'libavcodec/wmv2enc.c')
-rw-r--r--libavcodec/wmv2enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c
index 5ef8d8c48f..4948a29f79 100644
--- a/libavcodec/wmv2enc.c
+++ b/libavcodec/wmv2enc.c
@@ -217,7 +217,7 @@ AVCodec ff_wmv2_encoder = {
.id = CODEC_ID_WMV2,
.priv_data_size = sizeof(Wmv2Context),
.init = wmv2_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("Windows Media Video 8"),