vlc | branch: master | Mirsal Ennaime <[email protected]> | Tue Feb 22 17:50:11 2011 +0100| [c73ad6e76e87119929737561f56fb1a2a673b6d1] | committer: Mirsal Ennaime
Revert "xiph demux: _correctly_ remove warning" Sorry about that This reverts commit 020620ba69b19600fe7b06c8fa20cbfe5b50fe49. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c73ad6e76e87119929737561f56fb1a2a673b6d1 --- modules/demux/xiph.h | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/modules/demux/xiph.h b/modules/demux/xiph.h index 9b7e21c..0ce5dc4 100644 --- a/modules/demux/xiph.h +++ b/modules/demux/xiph.h @@ -48,10 +48,8 @@ static inline int xiph_SplitHeaders(unsigned packet_size[], void *packet[], unsi } size += packet_size[i]; } - - if ((uint8_t)(end - current) < size) + if (end - current < (int)size) return VLC_EGENERIC; - packet_size[count - 1] = end - current - size; /* Copy the payloads */ _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
