Mercurial > libavcodec.hg
view armv4l/mpegvideo_arm.c @ 2921:d22a3556292a libavcodec
avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
patch by Emiliano Parassassi < millallo AH tiscali -- it >
Original thread:
Date: Mon, 24 Oct 2005 13:03:01 +0200
Subject: [Ffmpeg-devel] [PATCH] avoid registration of decoders if only encoders are choosed
author | gpoirier |
---|---|
date | Wed, 26 Oct 2005 12:51:10 +0000 |
parents | 7f38814cffa1 |
children | 0b546eab515d |
line wrap: on
line source
/* * Copyright (c) 2002 Michael Niedermayer * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #include "../dsputil.h" #include "../mpegvideo.h" #include "../avcodec.h" extern void MPV_common_init_iwmmxt(MpegEncContext *s); void MPV_common_init_armv4l(MpegEncContext *s) { #ifdef HAVE_IWMMXT MPV_common_init_iwmmxt(s); #endif }