[NUT-devel] [nut]: r213 - trunk/libnut/demuxer.c
ods15
subversion at mplayerhq.hu
Wed Nov 15 13:30:29 CET 2006
Author: ods15
Date: Wed Nov 15 13:30:29 2006
New Revision: 213
Modified:
trunk/libnut/demuxer.c
Log:
1000l crash fix
Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c (original)
+++ trunk/libnut/demuxer.c Wed Nov 15 13:30:29 2006
@@ -931,7 +931,7 @@
SAFE_CALLOC(nut->alloc, *s, sizeof(nut_stream_header_t), nut->stream_count + 1);
for (i = 0; i < nut->stream_count; i++) (*s)[i] = nut->sc[i].sh;
(*s)[i].type = -1;
- nut->tmp_buffer = (void*)s;
+ nut->tmp_buffer = (void*)*s;
if (info) *info = nut->info;
err_out:
if (err != 2) flush_buf(nut->i); // unless EAGAIN
More information about the NUT-devel
mailing list