summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMatt Wolenetz <wolenetz@chromium.org>2013-05-13 19:29:26 -0700
committerMartin Storsjö <martin@martin.st>2013-05-14 10:04:43 +0300
commit252c0bfdc014c1fb6ad4fe06242c7beca58a6b41 (patch)
tree6afb87b3aeb901be554b2bd1535c9ce4f163d567 /libavcodec/utils.c
parent05165c2f7a248037d0099f6821dc9e4a78071ffa (diff)
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@martin.st>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c1
1 files changed, 1 insertions, 0 deletions
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