[FFmpeg-cvslog] swscale: Remove two bogus asserts

Diego Biurrun git at videolan.org
Wed Mar 11 21:43:31 CET 2015


ffmpeg | branch: release/0.10 | Diego Biurrun <diego at biurrun.de> | Tue Sep 11 22:11:25 2012 +0200| [ce57531a8894d69e3da085c7c6cba45b1f133b35] | committer: Diego Biurrun

swscale: Remove two bogus asserts

(cherry picked from commit b9141aa346b736adffd27e1a98bd12aa7b628a8f)
Signed-off-by: Diego Biurrun <diego at biurrun.de>

Conflicts:
	libswscale/swscale.c

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

 libswscale/swscale.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 1d0ea1b..1b9130c 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2644,8 +2644,6 @@ static int swScale(SwsContext *c, const uint8_t* src[],
                     }
                 }
             } else {
-                assert(lumSrcPtr  + vLumFilterSize - 1 < lumPixBuf  + vLumBufSize*2);
-                assert(chrUSrcPtr + vChrFilterSize - 1 < chrUPixBuf + vChrBufSize*2);
                 if (c->yuv2packed1 && vLumFilterSize == 1 && vChrFilterSize == 2) { //unscaled RGB
                     int chrAlpha = vChrFilter[2 * dstY + 1];
                     yuv2packed1(c, *lumSrcPtr, chrUSrcPtr, chrVSrcPtr,



More information about the ffmpeg-cvslog mailing list