diff options
author | deva <deva> | 2005-04-29 13:53:47 +0000 |
---|---|---|
committer | deva <deva> | 2005-04-29 13:53:47 +0000 |
commit | 0791ce8426fe56246afa4123c37388c2f506f8ce (patch) | |
tree | 3bf583d2ce5b998e789c0002dff23ba3b52083a5 /src/frame.cc | |
parent | edb7f06d81d94178aace1a9c29888e4bb800fb6a (diff) |
Testing mpeg4 (divx) codec
Diffstat (limited to 'src/frame.cc')
-rw-r--r-- | src/frame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.cc b/src/frame.cc index 4b94fcb..23d98ce 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -34,7 +34,7 @@ Frame::Frame(unsigned char *d, int sz) { data = (unsigned char *)malloc(sz); - memcpy(data, d, sz); + if(d) memcpy(data, d, sz); size = sz; } |