[Ffmpeg-devel] [RFC] ZMBV encoder

Benjamin Larsson banan
Tue Dec 5 17:11:35 CET 2006


Michael Niedermayer skrev:
[..]

>> +#ifdef CONFIG_ZLIB
>> +    // Needed if zlib unused or init aborted before deflateInit
>> +    memset(&(c->zstream), 0, sizeof(z_stream));
>> +#else
>> +    av_log(avctx, AV_LOG_ERROR, "Zlib support not compiled.\n");
>> +    return 1;
>> +#endif
> 
> hmm maybe the whole file shouldnt be compiled if zlib isnt available
> 
> except these patch ok
> 
> [...]
> 

Hi, can we get a policy for this? Currently we have both disabled 
compilation and runtime reporting like this. And maybe we should get a 
native zlib implementation ?

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list