git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avformat: Add av_cold attributes to init functions missing them
[ffmpeg.git]
/
libavformat
/
rtpdec_h263_rfc2190.c
diff --git
a/libavformat/rtpdec_h263_rfc2190.c
b/libavformat/rtpdec_h263_rfc2190.c
index
4b6e996
..
116db75
100644
(file)
--- a/
libavformat/rtpdec_h263_rfc2190.c
+++ b/
libavformat/rtpdec_h263_rfc2190.c
@@
-27,6
+27,7
@@
#include "avformat.h"
#include "rtpdec_formats.h"
#include "avformat.h"
#include "rtpdec_formats.h"
+#include "libavutil/attributes.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/get_bits.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/get_bits.h"
@@
-55,7
+56,7
@@
static void h263_free_context(PayloadContext *data)
av_free(data);
}
av_free(data);
}
-static int h263_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
+static
av_cold
int h263_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
{
if (st_index < 0)
return 0;
{
if (st_index < 0)
return 0;