[FFmpeg-cvslog] r12607 - trunk/libavformat/mov.c

Baptiste Coudurier baptiste.coudurier
Thu Mar 27 21:17:29 CET 2008


Hi,

Uoti Urpala wrote:
> On Thu, 2008-03-27 at 20:03 +0100, Reimar D?ffinger wrote:
>> Well, anyway, using strerror_r instead seems quite straight-forward to me,
>> though it is only POSIX and not part of C, but that should be good
>> enough for us?
>> And since the return value can also be a static string, a rather small
>> on-stack buffer should be good enough for use with strerror_r IMO.
> 
> Only the GNU version can also return a static string. The POSIX version
> always uses the supplied buffer.
> 

So how this should be changed ? strerror_r with buffer ?

I can just remove the error message, I thought it would be good to print
it though :/

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list