swri_resample_init: unsupported sample formats are an internal error.

This condition cannot happen.

Fixes CID733802
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/head
Michael Niedermayer 12 years ago
parent e47ab0b2c9
commit 7df9f595c9
  1. 2
      libswresample/resample.c

@ -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…
Cancel
Save