tmaher / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

Compatible brands setting error in ftyp atom #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Enviroment: MSVC 2005, svn trunk version.
Steps to reproduce: try do MP4CreateEx with for example 4 compatible
brands. After dumping we see only two of them.

Suggested fix:
mp4file.cpp:2955 ftyp->compatibleBrands.SetValue( compatibleBrands[i] );
Change SetValue to AddValue or explicitly set second argument of SetValue to i.

Original issue reported on code.google.com by denis.ya...@gmail.com on 28 Sep 2009 at 4:56

GoogleCodeExporter commented 8 years ago
Denis,

Thanks!  This should be fixed in r392.

Original comment by kid...@gmail.com on 27 Jul 2010 at 6:48