Index: source/libvpx/examples/set_maps.c |
=================================================================== |
--- source/libvpx/examples/set_maps.c (revision 284462) |
+++ source/libvpx/examples/set_maps.c (working copy) |
@@ -193,9 +193,9 @@ |
die("Failed to allocate image."); |
} |
- 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."); |
@@ -214,7 +214,7 @@ |
if (!(infile = fopen(argv[4], "rb"))) |
die("Failed to open %s for reading.", argv[4]); |
- 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)) { |