[FFmpeg-cvslog] ffv1enc: fix 1000l typo

Michael Niedermayer git at videolan.org
Sat May 11 21:37:26 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 11 21:33:03 2013 +0200| [9a2153894f2390a6da8d64d0c779ff0fd72d79c2] | committer: Michael Niedermayer

ffv1enc: fix 1000l typo

Thanks to ubitux for spotting that
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a2153894f2390a6da8d64d0c779ff0fd72d79c2
---

 libavcodec/ffv1enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index edddcb2..e745c7c 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -641,7 +641,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
     int i, j, k, m, ret;
 
-    if ((ret = ffv1_common_init(avctx)) < ret)
+    if ((ret = ffv1_common_init(avctx)) < 0)
         return ret;
 
     s->version = 0;



More information about the ffmpeg-cvslog mailing list