[SCM] libav/experimental: Remove av_cold attribute on decode_frame and add it to decode_end to match other codecs. patch by Gregory Montoir, cyx users sourceforge net

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:24:47 UTC 2013


The following commit has been merged in the experimental branch:
commit ce83d48b2204e52d4a0b8096ae2d14e85d9b1a5b
Author: Gregory Montoir <cyx at users.sourceforge.net>
Date:   Sun Jul 6 09:58:23 2008 +0000

    Remove av_cold attribute on decode_frame and add it to decode_end
    to match other codecs.
    patch by Gregory Montoir, cyx users sourceforge net
    
    Originally committed as revision 14084 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c
index 723d946..d91ed05 100644
--- a/libavcodec/tiertexseqv.c
+++ b/libavcodec/tiertexseqv.c
@@ -185,7 +185,7 @@ static av_cold int seqvideo_decode_init(AVCodecContext *avctx)
     return 0;
 }
 
-static av_cold int seqvideo_decode_frame(AVCodecContext *avctx,
+static int seqvideo_decode_frame(AVCodecContext *avctx,
                                  void *data, int *data_size,
                                  const uint8_t *buf, int buf_size)
 {
@@ -207,7 +207,7 @@ static av_cold int seqvideo_decode_frame(AVCodecContext *avctx,
     return buf_size;
 }
 
-static int seqvideo_decode_end(AVCodecContext *avctx)
+static av_cold int seqvideo_decode_end(AVCodecContext *avctx)
 {
     SeqVideoContext *seq = avctx->priv_data;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list