Browse Source

pixfmts: Selfcheck against insertions / deletions in the enum.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 13 years ago
parent
commit
68230eb375
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavutil/utils.c

+ 3
- 0
libavutil/utils.c View File

@@ -18,6 +18,7 @@

#include "config.h"
#include "avutil.h"
#include "avassert.h"

/**
* @file
@@ -26,6 +27,8 @@

unsigned avutil_version(void)
{
av_assert0(PIX_FMT_VDA_VLD == 81); //check if the pix fmt enum has not had anything inserted or removed by mistake

return LIBAVUTIL_VERSION_INT;
}



Loading…
Cancel
Save