diff options
Diffstat (limited to 'media-video/cinelerra/files/cinelerra-x264.patch')
-rw-r--r-- | media-video/cinelerra/files/cinelerra-x264.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/media-video/cinelerra/files/cinelerra-x264.patch b/media-video/cinelerra/files/cinelerra-x264.patch deleted file mode 100644 index 018b964e12d9..000000000000 --- a/media-video/cinelerra/files/cinelerra-x264.patch +++ /dev/null @@ -1,20 +0,0 @@ -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) |