gecko-dev/dom/media/webm
Jean-Yves Avenard 7ac281a2f6 Bug 1368856: initialize variable. r=rillian
There's no way to verify locally the while loop will execute and set the return value, so we get an uninitialized variable warning.

Initialize it at declaration time to failure, relying on the later code to override with success.

Actually, it doesn't matter what we initialize it to, since the while loop will never terminal if GetNextPacket somehow returns success without pushing a new packet onto the sample array. But this silences the warning.

MozReview-Commit-ID: 20rh1OGpR1E

--HG--
extra : rebase_source : 599a6d1bf0d38077bddfcec975e514eb8e5ee67e
2017-05-31 09:53:03 +02:00
..
EbmlComposer.cpp Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
EbmlComposer.h Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
NesteggPacketHolder.h Bug 1261900: [webm] Use block duration if known. r=kinetik 2016-04-21 21:07:54 +10:00
WebMBufferedParser.cpp Bug 1361964 - WebMBufferedState::UpdateIndex() should read from cache. r=jya 2017-05-04 21:32:13 +08:00
WebMBufferedParser.h Bug 1314533: P5. Abort when webm parser encounter an error. r=kinetik 2016-11-04 23:01:49 +11:00
WebMDecoder.cpp Bug 1332160 - use nsCString internally whenever possible. r=gerald 2017-01-18 16:51:31 +08:00
WebMDecoder.h Bug 1332160 - use nsCString internally whenever possible. r=gerald 2017-01-18 16:51:31 +08:00
WebMDemuxer.cpp Bug 1368856: initialize variable. r=rillian 2017-05-31 09:53:03 +02:00
WebMDemuxer.h Bug 1362107 - Add missing includes to WebMDemuxer. r=jya 2017-05-04 09:53:34 -07:00
WebMWriter.cpp Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
WebMWriter.h Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00