avcodec/mjpegenc: Mark ff_mjpeg_encode_close() as av_cold
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
78cd9c5671
commit
f8b743b9e6
@ -112,7 +112,7 @@ av_cold int ff_mjpeg_encode_init(MpegEncContext *s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ff_mjpeg_encode_close(MpegEncContext *s)
|
||||
av_cold void ff_mjpeg_encode_close(MpegEncContext *s)
|
||||
{
|
||||
av_freep(&s->mjpeg_ctx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user