Ticket #792: patch.2.compile2

File patch.2.compile2, 406 bytes (added by mplayer-bugs@…, 20 years ago)

compilation fix for amr.c v2

Line 
1--- mplayer/libavcodec/amr.c.orig 2007-04-13 23:19:37.000000000 +0200
2+++ mplayer/libavcodec/amr.c 2007-04-13 23:21:15.000000000 +0200
3@@ -665,6 +665,7 @@ static int amr_wb_decode_frame(AVCodecCo
4 uint8_t*amrData=buf;
5 int mode;
6 int packet_size;
7+ static short block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
8
9 if(buf_size==0) {
10 /* nothing to do */