]> git.pld-linux.org Git - packages/amarok.git/commitdiff
- typo and more fixes
authorlisu <lisu@pld-linux.org>
Fri, 1 Jul 2011 13:19:42 +0000 (13:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amarok-ffmpeg08.patch -> 1.2

amarok-ffmpeg08.patch

index a371dc2f9b758f1c7b9894da45b02b78d9a405f9..fcf3418735483c80b2f0630f555c141165e02dbc 100644 (file)
@@ -5,10 +5,19 @@
          audioStream = -1;
          for(i = 0; i < ( int )pFormatCtx->nb_streams; i++ )
 -            if( pFormatCtx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO )
-+            if( pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDI )
++            if( pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO )
              {
                  audioStream = i;
                  break;
+@@ -198,7 +198,7 @@
+                     }
+
+                     outSize = bufferSize;
+-                    decoderRet = avcodec_decode_audio2( pCodecCtx, ( qint16 * )buffer, &outSize, tmpPacket.data, tmpPacket.size );
++                    decoderRet = avcodec_decode_audio( pCodecCtx, ( qint16 * )buffer, &outSize, &tmpPacket );
+                     if( decoderRet < 0 )
+                     {
+                         debug() << "Error while decoding.";
 @@ -252,4 +252,4 @@
  }
  
This page took 0.040065 seconds and 4 git commands to generate.