Commit 7df9f595 authored by Michael Niedermayer's avatar Michael Niedermayer

swri_resample_init: unsupported sample formats are an internal error.

This condition cannot happen.

Fixes CID733802
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e47ab0b2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment