[FFmpeg-devel] [patch] glob matching for image series

Thilo Borgmann thilo.borgmann at googlemail.com
Mon Jan 9 19:24:38 CET 2012


>> @@ -296,7 +369,8 @@ static int read_header(AVFormatContext *s1, AVFormatParameters *ap)
>>  static int read_packet(AVFormatContext *s1, AVPacket *pkt)
>>  {
>>      VideoData *s = s1->priv_data;
>> -    char filename[1024];
>> +    char filename_bytes[1024];
> 
> filename_buf seems more natural.
> 
>> +    char* filename = filename_bytes;

Renaming the array seems unrelated, why not simply call the new pointer
"filename_buf"?

-Thilo


More information about the ffmpeg-devel mailing list