[Ffmpeg-devel] [PATCH] dvdsub.c update

Alexey Sidelnikov avs99
Wed Oct 25 10:13:12 CEST 2006


small bugfix... dvdsub_enc.c is okay.

Btw, what about renaming dvdsub.c into dvdsub_dec.c?


Alexey


Index: dvdsub.c
===================================================================
--- dvdsub.c	(revision 6782)
+++ dvdsub.c	(working copy)
@@ -232,7 +232,7 @@
              w = x2 - x1 + 1;
              if (w < 0)
                  w = 0;
-            h = y2 - y1;
+            h = y2 - y1 + 1;
              if (h < 0)
                  h = 0;
              if (w > 0 && h > 0) {





More information about the ffmpeg-devel mailing list