]> git.pld-linux.org Git - packages/gegl.git/blob - gegl-ffmpeg-0.8.patch
- updated to 0.1.6
[packages/gegl.git] / gegl-ffmpeg-0.8.patch
1 --- gegl-0.1.2/operations/external/ff-load.c.orig       2011-06-28 20:14:52.491649253 +0200
2 +++ gegl-0.1.2/operations/external/ff-load.c    2011-06-28 20:38:32.935030148 +0200
3 @@ -69,7 +69,7 @@
4  {
5    switch (err)
6      {
7 -    case AVERROR_NUMEXPECTED:
8 +    case AVERROR(EINVAL):
9        g_warning ("%s: Incorrect image filename syntax.\n"
10                   "Use '%%d' to specify the image number:\n"
11                   "  for img1.jpg, img2.jpg, ..., use 'img%%d.jpg';\n"
12 @@ -79,7 +79,7 @@
13      case AVERROR_INVALIDDATA:
14        g_warning ("%s: Error while parsing header\n", filename);
15        break;
16 -    case AVERROR_NOFMT:
17 +    case AVERROR(EILSEQ):
18        g_warning ("%s: Unknown format\n", filename);
19        break;
20      default:
21 @@ -278,7 +278,7 @@
22        for (i = 0; i< p->ic->nb_streams; i++)
23          {
24            AVCodecContext *c = p->ic->streams[i]->codec;
25 -          if (c->codec_type == CODEC_TYPE_VIDEO)
26 +          if (c->codec_type == AVMEDIA_TYPE_VIDEO)
27              {
28                p->video_st = p->ic->streams[i];
29                p->video_stream = i;
This page took 0.16087 seconds and 3 git commands to generate.