[gephex-devel] [Bug 94] New: ffmpegwriter crashes when writing
divx
Michael Mandl
mandlm at kexbox.org
Thu Feb 24 12:22:53 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
i'm on it!
mad.
Martin Bayer wrote:
| Hi Sven and Mad,
|
| > The real problem is that encstr contains "DIVX" after startup as
| > default and not "DIVX High". And so ffmpegwriter::initEncoder can't
| > find any entry in encmap.
|
| there is this line in FFMpegWriter::initEncoder():
|
| fmt = guess_format(encmap.find(encstr)->second.second.c_str(), NULL,
| NULL);
|
| If encstr is not in the (enc)map the "find(encstr)" returns a
| encstr.end(). Dereferencing this is not allowed.
|
| In the constructor of FFMpegWriter there is no check if the "encstr"
| parameter is valid.
|
| Martin
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| gephex-devel mailing list
| gephex-devel at lists.gephex.org
| http://lists.gephex.org/mailman/listinfo/gephex-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCHbkNYrdEvBZIgToRAtuCAKDnbgcYmFZuKqdj/Pi87bRMBac0XACffCFF
y5mMiFput9CYohnSjZ2Hek0=
=ARaU
-----END PGP SIGNATURE-----
More information about the gephex-devel
mailing list