Mercurial > mplayer.hg
comparison libmpdemux/demuxer.h @ 17599:c7d0f6322721
forgotten cast (blows on gcc4)
author | henry |
---|---|
date | Sun, 12 Feb 2006 10:51:04 +0000 |
parents | a3a4f7408f90 |
children | 831762e82a47 |
comparison
equal
deleted
inserted
replaced
17598:4b8193d51bda | 17599:c7d0f6322721 |
---|---|
188 dp->pts=0; | 188 dp->pts=0; |
189 dp->pos=0; | 189 dp->pos=0; |
190 dp->flags=0; | 190 dp->flags=0; |
191 dp->refcount=1; | 191 dp->refcount=1; |
192 dp->master=NULL; | 192 dp->master=NULL; |
193 if (len > 0 && (dp->buffer = malloc(len + 8))) | 193 if (len > 0 && (dp->buffer = (unsigned char *)malloc(len + 8))) |
194 memset(dp->buffer + len, 0, 8); | 194 memset(dp->buffer + len, 0, 8); |
195 else | 195 else |
196 dp->len = 0; | 196 dp->len = 0; |
197 return dp; | 197 return dp; |
198 } | 198 } |