]> git.pld-linux.org Git - packages/deadbeef.git/blob - deadbeef-ffmpeg-0.8.patch
d62e9426ddd6101dc311627cf885c355863fb2b4
[packages/deadbeef.git] / deadbeef-ffmpeg-0.8.patch
1 --- deadbeef-0.5.1/plugins/ffmpeg/ffmpeg.c~     2011-05-22 15:58:53.000000000 +0200
2 +++ deadbeef-0.5.1/plugins/ffmpeg/ffmpeg.c      2011-06-30 10:13:28.476471360 +0200
3 @@ -140,7 +140,7 @@
4      for (i = 0; i < info->fctx->nb_streams; i++)
5      {
6          info->ctx = info->fctx->streams[i]->codec;
7 -        if (info->ctx->codec_type == CODEC_TYPE_AUDIO)
8 +        if (info->ctx->codec_type == AVMEDIA_TYPE_AUDIO)
9          {
10              info->codec = avcodec_find_decoder (info->ctx->codec_id);
11              if (info->codec != NULL) {
12 @@ -490,7 +490,7 @@
13      for (i = 0; i < fctx->nb_streams; i++)
14      {
15          ctx = fctx->streams[i]->codec;
16 -        if (ctx->codec_type == CODEC_TYPE_AUDIO)
17 +        if (ctx->codec_type == AVMEDIA_TYPE_AUDIO)
18          {
19              codec = avcodec_find_decoder(ctx->codec_id);
20              if (codec != NULL && !strcasecmp (codec->name, "alac")) { // only open alac streams
21 @@ -745,7 +745,7 @@
22      for (i = 0; i < fctx->nb_streams; i++)
23      {
24          ctx = fctx->streams[i]->codec;
25 -        if (ctx->codec_type == CODEC_TYPE_AUDIO)
26 +        if (ctx->codec_type == AVMEDIA_TYPE_AUDIO)
27          {
28              codec = avcodec_find_decoder(ctx->codec_id);
29              if (codec != NULL)
This page took 0.050498 seconds and 2 git commands to generate.