Skip to content

Commit

Permalink
[aml] - fix draining message queue
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Jul 26, 2015
1 parent d44bc81 commit 3d31091
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1867,9 +1867,7 @@ int CAMLCodec::Decode(uint8_t *pData, size_t iSize, double dts, double pts)
if (m_old_pictcnt == m_cur_pictcnt)
m_ready_event.WaitMSec(25);

// we must return VC_BUFFER or VC_PICTURE,
// default to VC_BUFFER.
int rtn = VC_BUFFER;
int rtn = 0;
if (m_old_pictcnt != m_cur_pictcnt)
{
m_old_pictcnt++;
Expand Down

0 comments on commit 3d31091

Please sign in to comment.