mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec: Add av_cold to flush,init,close functions missing it
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
bc545bae3b
commit
1df63acdc4
81 changed files with 176 additions and 106 deletions
|
|
@ -293,7 +293,7 @@ static int mpegvideo_parse(AVCodecParserContext *s,
|
|||
return next;
|
||||
}
|
||||
|
||||
static int mpegvideo_parse_init(AVCodecParserContext *s)
|
||||
static av_cold int mpegvideo_parse_init(AVCodecParserContext *s)
|
||||
{
|
||||
s->pict_type = AV_PICTURE_TYPE_NONE; // first frame might be partial
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue