Re: [FFmpeg-devel] [PATCH 2/3] avcodec/v4l2_m2m_enc: Avoid ;;

2020-06-01 Thread Andriy Gelman
On Mon, 01. Jun 13:32, Andreas Rheinhardt wrote: > Inside a function, the second ; in a double ;; is a null statement, but > outside of functions a double ;; is simply invalid C that compilers > happen to accept. v4l2_m2m_enc.c contained several ;; as a result of > macro-expansion. So change the un

[FFmpeg-devel] [PATCH 2/3] avcodec/v4l2_m2m_enc: Avoid ;;

2020-06-01 Thread Andreas Rheinhardt
Inside a function, the second ; in a double ;; is a null statement, but outside of functions a double ;; is simply invalid C that compilers happen to accept. v4l2_m2m_enc.c contained several ;; as a result of macro-expansion. So change the underlying macro so that it doesn't happen any longer. Thi