Renjianguang-mi (HE12025-08-07):
> PR #20154 opened by Renjianguang-mi
> URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20154
> Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20154.patch
> 
> Functions and arrays in pixdesc will cause the code size to be larger (about 
> 30KB or more).
> For some products that only care about audio,you can use the audio_only 
> switch to
> reduce the size of pixdesc symbols.
> You can enable optimization by using the command line --enable-audio-only
> Signed-off-by: renjianguang <renjiangu...@xiaomi.com>

I do not like that it bloats the public headers and creates a
binary-incompatible version of the library.

And IIRC you cannot use CONFIG_SOMETHING in public headers anyway.

Better leave the function as stubs in the libraries.

Regards,

-- 
  Nicolas George
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to