Tracker bad STL compare
Bernhard Praschinger <[email protected]> Sun, 03 Jan 2010 08:56:20 +0100
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hallo I found that entry in the tracker: Summary: aunitbuffer.hpp: bad STL compare Initial Comment: I just had a look at source code file mjpegtools-1.9.0/mplex/aunitbuffer.hpp, around line 14 is the code for( std::deque<AUnit *>::iterator i = buf.begin(); i < buf.end(); ++i ) The compare looks wrong to me, because the order of the iterators is undefined. Suggest new code for( std::deque<AUnit *>::iterator i = buf.begin(); i != buf.end(); ++i) Here is the link to the Tracker: https://sourceforge.net/tracker/?func=detail&atid=105776&aid=2924120&group_id=5776 That change seems ok to me. If nobody has objections I will check in the change. happy new year and auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [email protected] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev