Browse Source

sub_mb_type[] needs to be 8-byte aligned because it is referenced

as a uint64_t in get_dct8x8_allowed().
Patch by David S. Miller <davem at davemloft dot net>

Originally committed as revision 17655 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David S. Miller Stefan Gehrer 17 years ago
parent
commit
da2911d5e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264.h

+ 1
- 1
libavcodec/h264.h View File

@@ -350,7 +350,7 @@ typedef struct H264Context{
int mb_field_decoding_flag;
int mb_mbaff; ///< mb_aff_frame && mb_field_decoding_flag

uint16_t sub_mb_type[4];
DECLARE_ALIGNED_8(uint16_t, sub_mb_type[4]);

//POC stuff
int poc_lsb;


Loading…
Cancel
Save