av1encode floating point exception on missing intra_period flag

Open
#304 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
cli

Research direction

Start by reproducing the av1encode crash with the --intra_period flag omitted, then trace the command-line argument handling in the av1encode entry point. The work is done when the missing required argument produces an error or help message instead of a floating point exception.

Written by the indexing model from the issue text.

Description

av1encode crashes with "Floating point exception (core dumped)" if the --intra_period flag is absent from the command line. I realize this is a required argument anyway, but it might be better from a usability standpoint to print out an error message or the help menu rather than crashing.

Dominant language
C
Stars
244
Forks
175
Avg merge
9d 7h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/libva-utils

All issues in intel/libva-utils

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.