mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
swri_resample_init: unsupported sample formats are an internal error.
This condition cannot happen. Fixes CID733802 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e47ab0b2c9
commit
7df9f595c9
@ -224,7 +224,7 @@ ResampleContext *swri_resample_init(ResampleContext *c, int out_rate, int in_rat
|
||||
break;
|
||||
default:
|
||||
av_log(NULL, AV_LOG_ERROR, "Unsupported sample format\n");
|
||||
return NULL;
|
||||
av_assert0(0);
|
||||
}
|
||||
|
||||
c->phase_shift = phase_shift;
|
||||
|
Loading…
Reference in New Issue
Block a user