mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
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
This commit is contained in:
committed by
Diego Biurrun
parent
ed76af08a4
commit
ce83d48b22
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user