[FFmpeg-devel] [PATCH 1/2] avcodec/vp9dsp: Replace assert by av_assert0()
Michael Niedermayer
michaelni at gmx.at
Thu May 7 14:55:49 CEST 2015
On Thu, May 07, 2015 at 08:13:46AM -0400, Ronald S. Bultje wrote:
> Hi,
>
> On Thu, May 7, 2015 at 8:08 AM, Michael Niedermayer <michaelni at gmx.at>
> wrote:
>
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavcodec/vp9dsp.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/libavcodec/vp9dsp.c b/libavcodec/vp9dsp.c
> > index d78c453..5ff18b4 100644
> > --- a/libavcodec/vp9dsp.c
> > +++ b/libavcodec/vp9dsp.c
> > @@ -21,6 +21,7 @@
> > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
> > 02110-1301 USA
> > */
> >
> > +#include "libavutil/avassert.h"
> > #include "libavutil/common.h"
> > #include "vp9dsp.h"
> >
> > @@ -31,7 +32,7 @@ av_cold void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp)
> > } else if (bpp == 10) {
> > ff_vp9dsp_init_10(dsp);
> > } else {
> > - assert(bpp == 12);
> > + av_assert0(bpp == 12);
> >
>
> OK.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150507/6e2728df/attachment.asc>
More information about the ffmpeg-devel
mailing list