aboutsummaryrefslogtreecommitdiff
path: root/libvpx/examples/simple_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/examples/simple_encoder.c')
-rw-r--r--libvpx/examples/simple_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvpx/examples/simple_encoder.c b/libvpx/examples/simple_encoder.c
index dde6344f8..dffdd6d7d 100644
--- a/libvpx/examples/simple_encoder.c
+++ b/libvpx/examples/simple_encoder.c
@@ -218,7 +218,7 @@ int main(int argc, char **argv) {
die("Failed to open %s for reading.", infile_arg);
if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
- die_codec(&codec, "Failed to initialize encoder");
+ die("Failed to initialize encoder");
// Encode frames.
while (vpx_img_read(&raw, infile)) {