gecko-dev/dom/media/flac
alwu 441473d744 Bug 1563949 - part4 : prevent direct usage of 'AppendElement()' to append sample. r=jya
We should always append sample by using `AppendSample()` to assert whether a sample is valid, so making `mSamples` private can prevent a direct usage of the nsTarry's `AppendElement()`.
Also provide a method to return non-const mSamples which is only used for the move semantics.

Differential Revision: https://phabricator.services.mozilla.com/D38427

--HG--
extra : moz-landing-system : lando
2019-07-19 21:11:21 +00:00
..
FlacDecoder.cpp Bug 1562331 - Make media.* static prefs follow the naming convention. r=KrisWright 2019-06-28 14:09:05 +10:00
FlacDecoder.h
FlacDemuxer.cpp Bug 1563949 - part4 : prevent direct usage of 'AppendElement()' to append sample. r=jya 2019-07-19 21:11:21 +00:00
FlacDemuxer.h
FlacFrameParser.cpp
FlacFrameParser.h
moz.build Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00