[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7450 - Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libsws
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7450 - Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libswscale |
Date: |
Fri, 18 Jul 2008 21:48:19 -0600 (MDT) |
Author: grothoff
Date: 2008-07-18 21:48:19 -0600 (Fri, 18 Jul 2008)
New Revision: 7450
Modified:
Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libswscale/swscale.c
Log:
check BEFORE alloc
Modified: Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libswscale/swscale.c
===================================================================
--- Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libswscale/swscale.c
2008-07-19 03:47:02 UTC (rev 7449)
+++ Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libswscale/swscale.c
2008-07-19 03:48:19 UTC (rev 7450)
@@ -1255,9 +1255,9 @@
ASSERT(minFilterSize > 0)
filterSize= (minFilterSize +(filterAlign-1)) & (~(filterAlign-1));
ASSERT(filterSize > 0)
- filter= av_malloc(filterSize*dstW*sizeof(double));
if (filterSize >= MAX_FILTER_SIZE)
return -1;
+ filter= av_malloc(filterSize*dstW*sizeof(double));
*outFilterSize= filterSize;
if (flags&SWS_PRINT_INFO)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7450 - Extractor/src/plugins/thumbnailffmpeg/ffmpeg/libswscale,
gnunet <=