On Tue, 12 May 2020, Nicolas George wrote:

lance.lmw...@gmail.com (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
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