[FFmpeg-devel] [PATCH] Add "cold" attribute to init/uninit functions in libavcodec

Zuxy Meng zuxy.meng
Thu Mar 20 04:38:46 CET 2008


2008/3/19, Michael Niedermayer <michaelni at gmx.at>:
>
> What effect does this patch has on binary size? It should become smaller ...
>
> [...]
>
> > -static int smka_decode_init(AVCodecContext *avctx)
> > +static av_cold int smka_decode_init(AVCodecContext *avctx)
> >  {
> >      return 0;
> >  }
>
> this function isnt needed at all

There're many such functions. May clean them up later.
>
> rest looks ok
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Let us carefully observe those good qualities wherein our enemies excel us
> and endeavor to excel them, by avoiding what is faulty, and imitating what
> is excellent in them. -- Plutarch
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFH4SfhYR7HhwQLD6sRAinsAKCN9PAgfOE/zwIhOLEbNecZmRCW4ACgkIbJ
> ygxupQoABGaFZKQ8bouRRbg=
> =2JhK
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>


-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the ffmpeg-devel mailing list