Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -511,6 +511,8 @@ static int config_input(AVFilterLink *inlink) · 510 unmodified lines | ||
| 511 | 511 | break; |
| 512 | 512 | } |
| 513 | 513 | break; |
| 514 | + default: | |
| 515 | + return AVERROR_BUG; | |
| 514 | 516 | } |
| 515 | 517 | |
| 516 | 518 | return 0; |
| @@ -847,6 +849,8 @@ silence_copy_flush: · 330 unmodified lines | ||
| 847 | 849 | case SILENCE_STOP: |
| 848 | 850 | silence_stop: |
| 849 | 851 | break; |
| 852 | + default: | |
| 853 | + ret = AVERROR_BUG; | |
| 850 | 854 | } |
| 851 | 855 | |
| 852 | 856 | av_frame_free(&in); |