Cosmetics: Move variable declaration and initialization up.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22869 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2007-04-01 03:00:47 +00:00
parent 9b7f5e81c6
commit 46fbb1bd66
1 changed files with 2 additions and 1 deletions

View File

@ -373,10 +373,11 @@ static void afterReading(void* clientData, unsigned frameSize,
if (frameSize > 0) demuxer->stream->eof = 0;
demux_packet_t* dp = bufferQueue->dp;
if (bufferQueue->readSource()->isAMRAudioSource())
headersize = 1;
demux_packet_t* dp = bufferQueue->dp;
resize_demux_packet(dp, frameSize + headersize);
// Set the packet's presentation time stamp, depending on whether or