summaryrefslogtreecommitdiff
path: root/examples/vp9cx_set_ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vp9cx_set_ref.c')
-rw-r--r--examples/vp9cx_set_ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vp9cx_set_ref.c b/examples/vp9cx_set_ref.c
index 911ad3863..1a0823153 100644
--- a/examples/vp9cx_set_ref.c
+++ b/examples/vp9cx_set_ref.c
@@ -251,7 +251,7 @@ int main(int argc, char **argv) {
die("Failed to open %s for reading.", infile_arg);
if (vpx_codec_enc_init(&ecodec, encoder->codec_interface(), &cfg, 0))
- die_codec(&ecodec, "Failed to initialize encoder");
+ die("Failed to initialize encoder");
// Disable alt_ref.
if (vpx_codec_control(&ecodec, VP8E_SET_ENABLEAUTOALTREF, 0))