shithub: openh264

Download patch

ref: dd3466cc6b81c74e605bf66488d5d4fbdd701888
parent: 95d693dcaf815a72583d3f042f00a70986358e8c
parent: 8f3c129f254b29a00dcca65b29dda8aafba8ac53
author: Ethan Hugg <ethanhugg@gmail.com>
date: Mon Jan 6 04:46:17 EST 2014

Merge pull request #88 from mstorsjo/remove-pragma-pack

Remove pragmas for non-standard struct packing in the public API

--- a/codec/api/svc/codec_app_def.h
+++ b/codec/api/svc/codec_app_def.h
@@ -161,7 +161,6 @@
   unsigned int  uiIDRPicId; // distinguish request from different IDR
   int			  iLTRFrameNum; //specify current decoder frame_num
 } SLTRMarkingFeedback;
-#pragma pack(1)
 
 typedef struct {
 
@@ -277,5 +276,4 @@
 } SSourcePicture;
 
 
-#pragma pack()
 #endif//WELS_VIDEO_CODEC_APPLICATION_DEFINITION_H__
--- a/codec/api/svc/codec_def.h
+++ b/codec/api/svc/codec_def.h
@@ -108,8 +108,6 @@
 #define FRAME_NUM_PARAM_SET		(-1)
 #define FRAME_NUM_IDR			0
 
-#pragma pack(1)
-
 /* Error Tools definition */
 typedef unsigned short ERR_TOOL;
 enum {
@@ -231,7 +229,5 @@
 static const char kiKeyNumMultiple[] = {
   1, 1, 2, 4, 8, 16,
 };
-
-#pragma pack()
 
 #endif//WELS_VIDEO_CODEC_DEFINITION_H__