Index: source/libvpx/examples/simple_encoder.c |
=================================================================== |
--- source/libvpx/examples/simple_encoder.c (revision 284462) |
+++ source/libvpx/examples/simple_encoder.c (working copy) |
@@ -207,9 +207,9 @@ |
if (keyframe_interval < 0) |
die("Invalid keyframe interval value."); |
- printf("Using %s\n", vpx_codec_iface_name(encoder->interface())); |
+ printf("Using %s\n", vpx_codec_iface_name(encoder->codec_interface())); |
- res = vpx_codec_enc_config_default(encoder->interface(), &cfg, 0); |
+ res = vpx_codec_enc_config_default(encoder->codec_interface(), &cfg, 0); |
if (res) |
die_codec(&codec, "Failed to get default codec config."); |
@@ -227,7 +227,7 @@ |
if (!(infile = fopen(infile_arg, "rb"))) |
die("Failed to open %s for reading.", infile_arg); |
- if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) |
+ if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0)) |
die_codec(&codec, "Failed to initialize encoder"); |
while (vpx_img_read(&raw, infile)) { |