DescriptionFix type punning error in (de)serializing audio frames.
*(reinterpret_cast<Foo*>(pointer_of_type_bar)) is not safe. Replace it with memcpy.
TBR=viettrungluu@chromium.org
BUG=none
TEST=CDM decrypt-and-decode audio is still working.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164555
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase only #Patch Set 3 : use vector::resize() #Patch Set 4 : rebase #Patch Set 5 : rebase only #
Messages
Total messages: 10 (0 generated)
|