demux_ts.c: avoid compiler warning by adding initialization

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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31874 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-07-31 15:22:11 +00:00 committed by Uoti Urpala
parent 7d7f3345e7
commit 900ca4cb3e
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ int mp_a52_framesize(uint8_t * buf, int *srate)
//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)