]> git.sesse.net Git - ffmpeg/commitdiff
lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)
authorMatt Wolenetz <wolenetz@chromium.org>
Tue, 14 May 2013 02:29:26 +0000 (19:29 -0700)
committerMartin Storsjö <martin@martin.st>
Tue, 14 May 2013 07:04:43 +0000 (10:04 +0300)
This fixes https://bugzilla.libav.org/show_bug.cgi?id=514.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/utils.c

index a6a1a653ca64dcabb4281926a80be718189d635e..e2e12e27f3807e91faa3adf124ff57c3aded0606 100644 (file)
@@ -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