aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-09 16:19:27 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-23 20:13:47 +0100
commit94ee7da08d2af875f485d4f784d50726cf3078f4 (patch)
tree91f7945da0a8b59af94f831a65f576e4d1efabf8 /libavcodec/h264.h
parentb5f536d24b5ae360503935c34d5d59fa5181b94d (diff)
downloadffmpeg-94ee7da08d2af875f485d4f784d50726cf3078f4.tar.gz
Remove pointless av_cold attributes in header files
The init functions marked as av_cold have to be executed in any case, so there is no gain from trying to mark paths leading to such functions as unlikely.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 6216cb64ba..6eda2a693f 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -660,7 +660,7 @@ const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src,
* Free any data that may have been allocated in the H264 context
* like SPS, PPS etc.
*/
-av_cold void ff_h264_free_context(H264Context *h);
+void ff_h264_free_context(H264Context *h);
/**
* Reconstruct bitstream slice_type.
@@ -707,8 +707,8 @@ int ff_h264_check_intra_pred_mode(H264Context *h, int mode, int is_chroma);
void ff_h264_hl_decode_mb(H264Context *h);
int ff_h264_frame_start(H264Context *h);
int ff_h264_decode_extradata(H264Context *h);
-av_cold int ff_h264_decode_init(AVCodecContext *avctx);
-av_cold void ff_h264_decode_init_vlc(void);
+int ff_h264_decode_init(AVCodecContext *avctx);
+void ff_h264_decode_init_vlc(void);
/**
* Decode a macroblock