]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/rgb2rgb.c
ffmpeg: use close_output_stream more systematically.
[ffmpeg] / libswscale / rgb2rgb.c
index 70aaee47d83b44bef8d29f9260323460a12164e5..321e5ff1b8e3bdeab02cf8ff10639936d9892a50 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <inttypes.h>
 
+#include "libavutil/attributes.h"
 #include "libavutil/bswap.h"
 #include "config.h"
 #include "rgb2rgb.h"
@@ -125,7 +126,7 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
  * 32-bit C version, and and&add trick by Michael Niedermayer
  */
 
-void sws_rgb2rgb_init(void)
+av_cold void sws_rgb2rgb_init(void)
 {
     rgb2rgb_init_c();
     if (HAVE_MMX)