提交 8b69867f 编写于 作者: M Michael Niedermayer

Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)

Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 17659207
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
#include "simple_idct.h" #include "simple_idct.h"
#include "faandct.h" #include "faandct.h"
uint8_t cropTbl[256 + 2 * MAX_NEG_CROP]; uint8_t cropTbl[256 + 2 * MAX_NEG_CROP] = {0, };
uint32_t squareTbl[512]; uint32_t squareTbl[512] = {0, };
const uint8_t ff_zigzag_direct[64] = { const uint8_t ff_zigzag_direct[64] = {
0, 1, 8, 16, 9, 2, 3, 10, 0, 1, 8, 16, 9, 2, 3, 10,
...@@ -59,7 +59,7 @@ const uint8_t ff_zigzag248_direct[64] = { ...@@ -59,7 +59,7 @@ const uint8_t ff_zigzag248_direct[64] = {
}; };
/* not permutated inverse zigzag_direct + 1 for MMX quantizer */ /* not permutated inverse zigzag_direct + 1 for MMX quantizer */
uint16_t __align8 inv_zigzag_direct16[64]; uint16_t __align8 inv_zigzag_direct16[64] = {0, };
const uint8_t ff_alternate_horizontal_scan[64] = { const uint8_t ff_alternate_horizontal_scan[64] = {
0, 1, 2, 3, 8, 9, 16, 17, 0, 1, 2, 3, 8, 9, 16, 17,
......
...@@ -112,7 +112,7 @@ void av_freep(void *arg) ...@@ -112,7 +112,7 @@ void av_freep(void *arg)
} }
/* encoder management */ /* encoder management */
AVCodec *first_avcodec; AVCodec *first_avcodec = NULL;
void register_avcodec(AVCodec *format) void register_avcodec(AVCodec *format)
{ {
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
#undef NDEBUG #undef NDEBUG
#include <assert.h> #include <assert.h>
AVInputFormat *first_iformat; AVInputFormat *first_iformat = NULL;
AVOutputFormat *first_oformat; AVOutputFormat *first_oformat = NULL;
AVImageFormat *first_image_format; AVImageFormat *first_image_format = NULL;
void av_register_input_format(AVInputFormat *format) void av_register_input_format(AVInputFormat *format)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册