summaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-06 10:19:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-06 10:19:56 +0200
commit5c2ccf83df3bfea03c843910c41ee99bd4d64129 (patch)
treeb65afff2fa2bbdb0223295c5f0d54ca7107e0e13 /libavformat/rtpdec_h264.c
parentf5846dc98cee1fd2530565a9a87c602714eb597b (diff)
parent7abd35a1ffaecfd79fa07b801621ee11ab595c43 (diff)
downloadffmpeg-streaming-5c2ccf83df3bfea03c843910c41ee99bd4d64129.zip
ffmpeg-streaming-5c2ccf83df3bfea03c843910c41ee99bd4d64129.tar.gz
Merge commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43'
* commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43': avformat: Add av_cold attributes to init functions missing them Conflicts: libavformat/rtpdec_xiph.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_h264.c')
-rw-r--r--libavformat/rtpdec_h264.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index d1133b7..be657c0 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -33,6 +33,7 @@
* FU-B packet types)
*/
+#include "libavutil/attributes.h"
#include "libavutil/base64.h"
#include "libavutil/avstring.h"
#include "libavcodec/get_bits.h"
@@ -338,7 +339,8 @@ static void h264_free_context(PayloadContext *data)
av_free(data);
}
-static int h264_init(AVFormatContext *s, int st_index, PayloadContext *data)
+static av_cold int h264_init(AVFormatContext *s, int st_index,
+ PayloadContext *data)
{
if (st_index < 0)
return 0;
OpenPOWER on IntegriCloud