Contents of /trunk/gpac/patches/gpac-0.4.5-swscalecall.patch
Parent Directory | Revision Log
Revision 925 -
(show annotations)
(download)
Wed Nov 4 15:18:09 2009 UTC (14 years, 10 months ago) by niro
File size: 568 byte(s)
Wed Nov 4 15:18:09 2009 UTC (14 years, 10 months ago) by niro
File size: 568 byte(s)
-fixes for 0.4.5-r1
1 | Index: gpac/modules/ffmpeg_in/ffmpeg_decode.c |
2 | =================================================================== |
3 | --- gpac.orig/modules/ffmpeg_in/ffmpeg_decode.c |
4 | +++ gpac/modules/ffmpeg_in/ffmpeg_decode.c |
5 | @@ -644,7 +644,7 @@ redecode: |
6 | NULL, NULL, NULL); |
7 | |
8 | if (ffd->sws_ctx) |
9 | - sws_scale(ffd->sws_ctx, ffd->frame->data, ffd->frame->linesize, 0, ffd->ctx->height->codec->height, pict.data, pict.linesize); |
10 | + sws_scale(ffd->sws_ctx, ffd->frame->data, ffd->frame->linesize, 0, ffd->ctx->height, pict.data, pict.linesize); |
11 | |
12 | #endif |
13 |