]> git.pld-linux.org Git - packages/DirectFB.git/blame - ffmpeg4.patch
use pkgconfig to find imlib2
[packages/DirectFB.git] / ffmpeg4.patch
CommitLineData
eb00126a
JR
1--- DirectFB-1.7.7/interfaces/IDirectFBImageProvider/idirectfbimageprovider_ffmpeg.c~
2+++ DirectFB-1.7.7/interfaces/IDirectFBImageProvider/idirectfbimageprovider_ffmpeg.c
3@@ -300,7 +300,7 @@ IDirectFBImageProvider_FFMPEG_RenderTo( IDirectFBImageProvider *thiz,
4 av_pkt.data = comp_data_buffer;
5
6 /*We don't pass complete frames*/
7- av_codec_ctx->flags |= CODEC_FLAG_TRUNCATED;
8+ av_codec_ctx->flags |= AV_CODEC_FLAG_TRUNCATED;
9
10 do
11 {
12--- DirectFB-1.7.7/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_ffmpeg.c~ 2018-04-29 01:34:51.000000000 +0200
13+++ DirectFB-1.7.7/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_ffmpeg.c 2018-04-29 01:44:29.654235050 +0200
14@@ -549,7 +549,7 @@
15 }
16
17 if (av_read_frame( data->context, &packet ) < 0) {
18- if (url_feof( data->context->pb )) {
19+ if (avio_feof( data->context->pb )) {
20 if (data->input.buffering) {
21 pthread_mutex_unlock( &data->audio.queue.lock );
22 pthread_mutex_unlock( &data->video.queue.lock );
This page took 0.045679 seconds and 4 git commands to generate.