Skip to content

Commit

Permalink
api: fix incorrect packing of struct
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonchar authored and dmitryermilov committed Jun 22, 2020
1 parent 46ac80d commit 0e585dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/include/mfxbrc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019 Intel Corporation
// Copyright (c) 2019-2020 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -81,7 +81,7 @@ enum {
MFX_BRC_PANIC_SMALL_FRAME = 4 // Coded frame is too small, no further recoding possible - required padding to MinFrameSize
};

MFX_PACK_BEGIN_USUAL_STRUCT()
MFX_PACK_BEGIN_STRUCT_W_PTR()
typedef struct {
mfxU32 MinFrameSize; // Size in bytes, coded frame must be padded to when Status = MFX_BRC_PANIC_SMALL_FRAME
mfxU16 BRCStatus; // See BRCStatus enumerator
Expand Down

0 comments on commit 0e585dd

Please sign in to comment.