[FFmpeg-devel] [PATCH 6/7] Move away x86 specific code from rgb2rgb part 2

Diego Biurrun diego
Thu Jan 20 02:13:18 CET 2011


On Thu, Jan 20, 2011 at 12:46:25AM +0100, Luca Barbato wrote:
> With this commit we should have all the arch specific code moved away.
> --- /dev/null
> +++ b/libswscale/x86/rgb2rgb.c
> @@ -0,0 +1,150 @@
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with FFmpeg; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> + */
> +#include <inttypes.h>
> +#include "config.h"

stdint.h is enough, extra good karma for empty lines between system
and local headers.

> +void sws_rgb2rgb_init_x86(int flags);
> +
> +void sws_rgb2rgb_init_x86(int flags)

This forward declaration is ugly.  Is there no header for these functions?

Diego



More information about the ffmpeg-devel mailing list