summaryrefslogtreecommitdiff
path: root/multimedia/libflash/patches/patch-ac
blob: 0e43c54ae00ed008314dca62d2cb70cf1594ead7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.1.1.1 2004/01/26 13:34:45 jmmv Exp $

--- Lib/flash.cc.orig	Thu Jul 11 15:07:01 2002
+++ Lib/flash.cc
@@ -100,6 +100,7 @@ long FlashGraphicInit(FlashHandle flashH
 			break;
 		default:
 			fprintf(stderr, "Unsupported depth\n");
+			return 0;
 	}
 
 	fh->gd->setMovieDimension(fh->main->frameRect.xmax - fh->main->frameRect.xmin,