Commit c01f1157 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '0f40c909'

* commit '0f40c909':
  Drop pointless assert.h #includes
Merged-by: 's avatarClément Bœsch <clement@stupeflix.com>
parents 82439dec 0f40c909
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include "libavcodec/vdpau.h" #include "libavcodec/vdpau.h"
#include "libavutil/avassert.h"
#include "libavutil/buffer.h" #include "libavutil/buffer.h"
#include "libavutil/frame.h" #include "libavutil/frame.h"
#include "libavutil/hwcontext.h" #include "libavutil/hwcontext.h"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "ac3.h" #include "ac3.h"
#include "ac3dsp.h" #include "ac3dsp.h"
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "libavutil/timer.h" #include "libavutil/timer.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "rangecoder.h" #include "rangecoder.h"
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
#include <opus.h> #include <opus.h>
#include <opus_multistream.h> #include <opus_multistream.h>
#include "libavutil/avassert.h"
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "vorbis.h" #include "vorbis.h"
......
...@@ -22,19 +22,26 @@ ...@@ -22,19 +22,26 @@
*/ */
#include <limits.h> #include <limits.h>
#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "h264.h" #include "h264.h"
#include "vc1.h" #include "vc1.h"
#undef NDEBUG
#include <assert.h>
#include "vdpau.h" #include "vdpau.h"
#include "vdpau_compat.h" #include "vdpau_compat.h"
#include "vdpau_internal.h" #include "vdpau_internal.h"
// XXX: at the time of adding this ifdefery, av_assert* wasn't use outside.
// When dropping it, make sure other av_assert* were not added since then.
#if FF_API_BUFS_VDPAU
#include "libavutil/avassert.h"
#endif
#if FF_API_VDPAU
#undef NDEBUG
#include <assert.h>
#endif
/** /**
* @addtogroup VDPAU_Decoding * @addtogroup VDPAU_Decoding
* *
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/avassert.h"
#include "libavutil/buffer.h" #include "libavutil/buffer.h"
#include "libavutil/hwcontext.h" #include "libavutil/hwcontext.h"
#include "libavutil/log.h" #include "libavutil/log.h"
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "libavutil/eval.h" #include "libavutil/eval.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "libavutil/colorspace.h" #include "libavutil/colorspace.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
*/ */
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/bswap.h" #include "libavutil/bswap.h"
#include "libavutil/common.h" #include "libavutil/common.h"
......
...@@ -89,7 +89,6 @@ ...@@ -89,7 +89,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include <assert.h>
#include "config.h" #include "config.h"
#include "libswscale/rgb2rgb.h" #include "libswscale/rgb2rgb.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment