History

avfilter/af_silenceremove: cover default case too

Paul B Mahol committed 5 years ago

Commit 1d1e8a41 parent 9e335721 file · +4 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/af_silenceremove.c+4−0
@@ -511,6 +511,8 @@ static int config_input(AVFilterLink *inlink) · 510 unmodified lines
511511 break;
512512 }
513513 break;
514+ default:
515+ return AVERROR_BUG;
514516 }
515517
516518 return 0;
@@ -847,6 +849,8 @@ silence_copy_flush: · 330 unmodified lines
847849 case SILENCE_STOP:
848850 silence_stop:
849851 break;
852+ default:
853+ ret = AVERROR_BUG;
850854 }
851855
852856 av_frame_free(&in);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t