[FFmpeg-cvslog] r11573 - trunk/libavformat/mxf.c
matthieu castet
castet.matthieu
Sat Jan 19 21:59:03 CET 2008
Reimar D?ffinger wrote:
> Hello,
> On Sat, Jan 19, 2008 at 09:00:09PM +0100, bcoudurier wrote:
>> Author: bcoudurier
>> Date: Sat Jan 19 21:00:09 2008
>> New Revision: 11573
>>
>> Log:
>> init uid to 0
>>
>> Modified:
>> trunk/libavformat/mxf.c
>>
>> Modified: trunk/libavformat/mxf.c
>> ==============================================================================
>> --- trunk/libavformat/mxf.c (original)
>> +++ trunk/libavformat/mxf.c Sat Jan 19 21:00:09 2008
>> @@ -922,7 +922,7 @@ static int mxf_read_local_tags(MXFContex
>> int tag = get_be16(pb);
>> int size = get_be16(pb); /* KLV specified by 0x53 */
>> uint64_t next = url_ftell(pb) + size;
>> - UID uid;
>> + UID uid = {0};
>
> I'm quite sure it does not matter here, but note that even for arrays as
> small as 16 bytes memset is quite a bit faster than this kind of
> initialization, at least with gcc around 3.4
That what's it does on some architecture (arm for example).
More information about the ffmpeg-cvslog
mailing list