]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpc.c
Force aix strip to work on 32 and 64 bit by default.
[ffmpeg] / libavformat / mpc.c
index c3faebe6c0717f889330fc3078c57907f7ccc7c7..8f8ac9c389aadd358a7f718123ba05e1f18d47fb 100644 (file)
@@ -152,7 +152,7 @@ static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt)
     }
     c->curbits = (curbits + size2) & 0x1F;
 
-    if ((ret = av_new_packet(pkt, size)) < 0)
+    if ((ret = av_new_packet(pkt, size + 4)) < 0)
         return ret;
 
     pkt->data[0] = curbits;