summaryrefslogtreecommitdiff
path: root/ffmpeg/libavformat/rtpdec_mpeg12.c
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
commitf7813a5324be39d13ab536c245d15dfc602a7849 (patch)
treefad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavformat/rtpdec_mpeg12.c
parentb7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff)
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavformat/rtpdec_mpeg12.c')
-rw-r--r--ffmpeg/libavformat/rtpdec_mpeg12.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ffmpeg/libavformat/rtpdec_mpeg12.c b/ffmpeg/libavformat/rtpdec_mpeg12.c
index 82e58a0..d73ff1e 100644
--- a/ffmpeg/libavformat/rtpdec_mpeg12.c
+++ b/ffmpeg/libavformat/rtpdec_mpeg12.c
@@ -19,10 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "rtpdec_formats.h"
+#include "libavutil/attributes.h"
#include "libavutil/intreadwrite.h"
+#include "rtpdec_formats.h"
-static int mpeg_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
+static av_cold int mpeg_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
{
if (st_index < 0)
return 0;