freebsd-ports/graphics/urt/files/patch-lib-rle_hdr.c
Pav Lucistnik c42f3b8f1c - Fix for gif2rle (from BRLCAD)
- misc. fixes from the SGI port
- some other warning cleanups and remove a check that was not serving any purpose

PR:		ports/118344
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
2007-12-15 19:53:24 +00:00

11 lines
275 B
C

--- lib/rle_hdr.c.orig Thu Nov 29 21:57:53 2007
+++ lib/rle_hdr.c Thu Nov 29 21:59:23 2007
@@ -269,6 +269,8 @@
{
rle_hdr *ret_hdr;
+ if ( rle_dflt_hdr.rle_file == NULL)
+ rle_dflt_hdr.rle_file = stdout;
if ( the_hdr == &rle_dflt_hdr )
return the_hdr;