Skip to content

Commit

Permalink
Bug 1143096 - Init all WebMBufferedParser members - r=kinetik
Browse files Browse the repository at this point in the history
Initialize all WebMBufferedParser members, mainly to remove compiler warnings.
'mClusterTimecode' and 'mClusterOffset' are probably genuine potential issues,
see bug 1143096 comment 2 for details.
  • Loading branch information
squelart committed Feb 3, 2016
1 parent 6adb89f commit c6ebc5f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dom/media/webm/WebMBufferedParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,19 @@ struct WebMBufferedParser
, mInitEndOffset(-1)
, mBlockEndOffset(-1)
, mState(READ_ELEMENT_ID)
, mNextState(READ_ELEMENT_ID)
, mVIntRaw(false)
, mLastInitStartOffset(-1)
, mClusterSyncPos(0)
, mVIntLeft(0)
, mBlockSize(0)
, mClusterTimecode(0)
, mClusterOffset(0)
, mClusterEndOffset(-1)
, mBlockOffset(0)
, mBlockTimecode(0)
, mBlockTimecodeLength(0)
, mSkipBytes(0)
, mTimecodeScale(1000000)
, mGotTimecodeScale(false)
{
Expand Down

0 comments on commit c6ebc5f

Please sign in to comment.