]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/intrax8dsp.c
Remove return statements following infinite loops without break
[ffmpeg] / libavcodec / intrax8dsp.c
index 0ed2e39d029463912f0a63dc44c84105c43b3bcf..1a62fcde773f34718488cf52ffdded24d12005eb 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * This file is part of FFmpeg.
+ * This file is part of Libav.
  *
- * FFmpeg is free software; you can redistribute it and/or
+ * Libav 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.1 of the License, or (at your option) any later version.
  *
- * FFmpeg is distributed in the hope that it will be useful,
+ * Libav 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 FFmpeg; if not, write to the Free Software
+ * License along with Libav; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
-* @file libavcodec/intrax8dsp.c
+* @file
  *@brief IntraX8 frame subdecoder image manipulation routines
  */
 
@@ -413,7 +413,7 @@ static void x8_v_loop_filter(uint8_t *src, int stride, int qscale){
     x8_loop_filter(src, 1, stride, qscale);
 }
 
-void ff_intrax8dsp_init(DSPContext* dsp, AVCodecContext *avctx) {
+av_cold void ff_intrax8dsp_init(DSPContext* dsp, AVCodecContext *avctx) {
     dsp->x8_h_loop_filter=x8_h_loop_filter;
     dsp->x8_v_loop_filter=x8_v_loop_filter;
     dsp->x8_setup_spatial_compensation=x8_setup_spatial_compensation;