summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 31a2117b82..fefb2b69c0 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -469,7 +469,7 @@ int av_frame_ref(AVFrame *dst, const AVFrame *src)
if (ret < 0)
goto fail;
- return ret;
+ return 0;
}
/* ref the buffers */