Re: [Bug 94] New: ffmpegwriter crashes when writing divx

Michael Mandl <[email protected]>
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
-----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
| [email protected]
| 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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.