On Tue, 12 May 2020, Nicolas George wrote:
[email protected] (12020-05-12):
No, it's not hard-coded, you can name your own goto label.
The label is not hard-coded. The goto is hard-coded. It should not be.
Frequently, a return would be enough.
You mean this?
#define FF_ALLOC_ARRAY_OR_ERROR(p, nelem, elsize, errstatement)\
{\
p = av_malloc_array(nelem, elsize);\
if (!p) {\
errstatement; \
}\
}
Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".