Index: source/libvpx/examples/simple_decoder.c |
=================================================================== |
--- source/libvpx/examples/simple_decoder.c (revision 284462) |
+++ source/libvpx/examples/simple_decoder.c (working copy) |
@@ -123,9 +123,9 @@ |
if (!decoder) |
die("Unknown input codec."); |
- printf("Using %s\n", vpx_codec_iface_name(decoder->interface())); |
+ printf("Using %s\n", vpx_codec_iface_name(decoder->codec_interface())); |
- if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0)) |
+ if (vpx_codec_dec_init(&codec, decoder->codec_interface(), NULL, 0)) |
die_codec(&codec, "Failed to initialize decoder."); |
while (vpx_video_reader_read_frame(reader)) { |