mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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:
parent
9b7f5e81c6
commit
46fbb1bd66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user