From 252c0bfdc014c1fb6ad4fe06242c7beca58a6b41 Mon Sep 17 00:00:00 2001 From: Matt Wolenetz Date: Mon, 13 May 2013 19:29:26 -0700 Subject: lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö --- libavcodec/utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/utils.c') diff --git a/libavcodec/utils.c b/libavcodec/utils.c index a6a1a653ca..e2e12e27f3 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -762,6 +762,7 @@ void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic) int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic) { av_assert0(0); + return AVERROR_BUG; } #endif -- cgit v1.2.3