[FFmpeg-cvslog] swri_resample_init: unsupported sample formats are an internal error.
Michael Niedermayer
git at videolan.org
Thu Oct 11 04:47:29 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 11 04:36:23 2012 +0200| [7df9f595c9122f7c8aad39e0ad7d5b7bb1181e7e] | committer: Michael Niedermayer
swri_resample_init: unsupported sample formats are an internal error.
This condition cannot happen.
Fixes CID733802
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7df9f595c9122f7c8aad39e0ad7d5b7bb1181e7e
---
libswresample/resample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswresample/resample.c b/libswresample/resample.c
index 5a82e73..bf412dd 100644
--- a/libswresample/resample.c
+++ b/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;
More information about the ffmpeg-cvslog
mailing list