Skip to content

Instantly share code, notes, and snippets.

diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 5547dfd87f..7440dccf1f 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -145,7 +145,7 @@ typedef struct FourXContext {
int mv[256];
VLC pre_vlc;
int last_dc;
- DECLARE_ALIGNED(16, int16_t, block)[6][64];
+ DECLARE_ALIGNED(32, int16_t, block)[6][64];
@ramiropolla
ramiropolla / code.sh
Created January 11, 2013 17:09
$ sh code.sh "3:paralelepipedo;hello; this is spartaaa;"
#!/bin/sh
[ ! -f a.out ] && {
TMPFILE=`mktemp`
cat>$TMPFILE<<EOF
#define g getchar()
#define p putchar
main(){int getchar(),putchar();int n,c,s;n=g-'0';c=g;if(c!=':'){n*=10;n+=c-'0'
;c=g;}while(n--){s=0;while((c=g)!=';')s+=(c>'@'&&c<'{')?"12010000000000111100"
"00000000000011011010000000111000000000"[c-'A']-'0':0;if(s>9){if(s>99){p('0'+s
/100);s%=100;}p('0'+s/10);s%=10;}p('0'+s);p(n?';':'\n');}}