Skip to content

Commit

Permalink
Fix parsing dts in xav_decoder.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Aug 12, 2024
1 parent 642e04f commit f2a4da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/xav/xav_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ERL_NIF_TERM decode(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
}

int dts;
if (!enif_get_int(env, argv[3], &pts)) {
if (!enif_get_int(env, argv[3], &dts)) {
return xav_nif_raise(env, "couldnt_get_int");
}

Expand Down

0 comments on commit f2a4da0

Please sign in to comment.