diff options
author | Giovanne Castro <giovannefc@ig.com.br> | 2010-11-12 21:23:39 +0100 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-11-22 19:40:04 +0100 |
commit | 3250af3193713d1dd27e69502662b7ff9af70873 (patch) | |
tree | 080bca16133a2aaf5ba153ac19a2c5583c717a3e /multimedia/cinelerra/x264_76.patch | |
parent | 90585059a4374e5614017d9a409b90b5811641dc (diff) | |
download | slackbuilds-3250af3193713d1dd27e69502662b7ff9af70873.tar.gz |
multimedia/cinelerra: Updated for version cv_einar_701e5e5f
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/cinelerra/x264_76.patch')
-rw-r--r-- | multimedia/cinelerra/x264_76.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/cinelerra/x264_76.patch b/multimedia/cinelerra/x264_76.patch new file mode 100644 index 0000000000..018b964e12 --- /dev/null +++ b/multimedia/cinelerra/x264_76.patch @@ -0,0 +1,20 @@ +Index: cinelerra-20090210/quicktime/qth264.c +=================================================================== +--- cinelerra-20090210.orig/quicktime/qth264.c ++++ cinelerra-20090210/quicktime/qth264.c +@@ -239,10 +239,15 @@ static int encode(quicktime_t *file, uns + codec->buffer_size = 0; + for(i = 0; i < nnal; i++) + { ++#if X264_BUILD >= 76 ++ int size = nals[i].i_payload; ++ memcpy(codec->work_buffer + codec->buffer_size, nals[i].p_payload, nals[i].i_payload); ++#else + int size = x264_nal_encode(codec->work_buffer + codec->buffer_size, + &allocation, + 1, + nals + i); ++#endif + unsigned char *ptr = codec->work_buffer + codec->buffer_size; + + if(size > 0) |