[FFmpeg-cvslog] lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)
Matt Wolenetz
git at videolan.org
Wed May 15 09:43:19 CEST 2013
ffmpeg | branch: master | Matt Wolenetz <wolenetz at chromium.org> | Mon May 13 19:29:26 2013 -0700| [252c0bfdc014c1fb6ad4fe06242c7beca58a6b41] | committer: Martin Storsjö
lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)
This fixes https://bugzilla.libav.org/show_bug.cgi?id=514.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=252c0bfdc014c1fb6ad4fe06242c7beca58a6b41
---
libavcodec/utils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index a6a1a65..e2e12e2 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
More information about the ffmpeg-cvslog
mailing list