History

avfilter/af_silenceremove: cover default case too

Paul B Mahol committed 5 years ago

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

Unified · Split

libavfilter/af_silenceremove.c+4−0
@@ -511,6 +511,8 @@ static int config_input(AVFilterLink *inlink) · 510 unmodified lines
511 break;511 break;
512 }512 }
513 break;513 break;
514 default:
515 return AVERROR_BUG;
514 }516 }
515 517
516 return 0;518 return 0;
@@ -847,6 +849,8 @@ silence_copy_flush: · 330 unmodified lines
847 case SILENCE_STOP:849 case SILENCE_STOP:
848silence_stop:850silence_stop:
849 break;851 break;
852 default:
853 ret = AVERROR_BUG;
850 }854 }
851 855
852 av_frame_free(&in);856 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