[FFmpeg-devel] [PATCH] removing comma at final enumeration items to fix pedantic warnings
Michael Niedermayer
michael at niedermayer.cc
Thu Oct 20 04:27:00 EEST 2016
On Wed, Oct 19, 2016 at 11:11:21PM +0200, Michael Behrisch wrote:
> Signed-off-by: Michael Behrisch <oss at behrisch.de>
> ---
> libavutil/log.h | 2 +-
> libavutil/pixfmt.h | 12 ++++++------
> 2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/libavutil/log.h b/libavutil/log.h
> index 0acc1b9..f0a5738 100644
> --- a/libavutil/log.h
> +++ b/libavutil/log.h
> @@ -44,7 +44,7 @@ typedef enum {
> AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT,
> AV_CLASS_CATEGORY_DEVICE_OUTPUT,
> AV_CLASS_CATEGORY_DEVICE_INPUT,
> - AV_CLASS_CATEGORY_NB, ///< not part of ABI/API
> + AV_CLASS_CATEGORY_NB ///< not part of ABI/API
> }AVClassCategory;
>
> #define AV_IS_INPUT_DEVICE(category) \
> diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
> index b15c0ef..7a3f68b 100644
> --- a/libavutil/pixfmt.h
> +++ b/libavutil/pixfmt.h
> @@ -306,7 +306,7 @@ enum AVPixelFormat {
>
> AV_PIX_FMT_MEDIACODEC, ///< hardware decoding through MediaCodec
>
> - AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS
> if you want to link with shared libav* because the number of formats
> might differ between versions
> + AV_PIX_FMT_NB ///< number of pixel formats, DO NOT USE THIS
> if you want to link with shared libav* because the number of formats
> might differ between versions
> };
patch is corrupted by newlines / word wrap
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161020/6b59f204/attachment.sig>
More information about the ffmpeg-devel
mailing list