]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp3.c
Do not print a useless error number if mov header reading fails.
[ffmpeg] / libavcodec / vp3.c
index 3f04d8f2583260709e0c7bfc535d3b0cbbb72793..bd1afc02efeef14bf29ce88d785a026a33254685 100644 (file)
@@ -1429,7 +1429,7 @@ static void vp3_draw_horiz_band(Vp3DecodeContext *s, int y)
                                   0);
     }
 
-    if (s->avctx->draw_horiz_band == NULL)
+    if (!s->avctx->draw_horiz_band)
         return;
 
     h = y - s->last_slice_end;