Author: diego Date: Sat Jul 31 17:22:11 2010 New Revision: 31874 Log: Initialize frame_length variable to zero to avoid the warning: libmpdemux/demux_ts.c:669: warning: 'frame_length' may be used uninitialized in this function Modified: trunk/libmpdemux/demux_ts.c Modified: trunk/libmpdemux/demux_ts.c ============================================================================== --- trunk/libmpdemux/demux_ts.c Sat Jul 31 17:17:17 2010 (r31873) +++ trunk/libmpdemux/demux_ts.c Sat Jul 31 17:22:11 2010 (r31874) @@ -666,7 +666,7 @@ int mp_a52_framesize(uint8_t * buf, int //second stage: returns the count of A52 syncwords found static int a52_check(char *buf, int len) { - int cnt, frame_length, ok, srate; + int cnt, frame_length = 0, ok, srate; cnt = ok = 0; if(len < 8)
On Sat, Jul 31, 2010 at 05:22:11PM +0200, diego wrote:
Log: Initialize frame_length variable to zero to avoid the warning: libmpdemux/demux_ts.c:669: warning: 'frame_length' may be used uninitialized in this function
Acknowled, reviewed and blessed by the person looking over my shoulder: Nico Sabbi. Greetings from sunny Bologna, Diego + Nico
Hi! Diego Biurrun <diego <at> biurrun.de> writes:
Acknowled, reviewed and blessed by the person looking over my shoulder: Nico Sabbi.
In case you two have too much time: -demuxer mpegts is eating memory (-demuxer lavf is not) -ausid is (imo) completely broken: You can only choose the truehd part of an ac3/truehd stream I believe evo files are broken (although I can't test right now so that might not be true. Perhaps you could try to remember why -correct-pts was disabled for -demuxer mpegts - if you can't remember or it doesn't apply anymore, please enable it (or was that already done?)
Greetings from sunny Bologna, Diego + Nico
Have a good time, Carl Eugen
participants (3)
-
Carl Eugen Hoyos -
diego -
Diego Biurrun