packages: amarok/amarok-ffmpeg08.patch - typo and more fixes
lisu
lisu at pld-linux.org
Fri Jul 1 15:19:47 CEST 2011
Author: lisu Date: Fri Jul 1 13:19:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- typo and more fixes
---- Files affected:
packages/amarok:
amarok-ffmpeg08.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/amarok/amarok-ffmpeg08.patch
diff -u packages/amarok/amarok-ffmpeg08.patch:1.1 packages/amarok/amarok-ffmpeg08.patch:1.2
--- packages/amarok/amarok-ffmpeg08.patch:1.1 Fri Jul 1 14:59:39 2011
+++ packages/amarok/amarok-ffmpeg08.patch Fri Jul 1 15:19:42 2011
@@ -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 @@
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/amarok/amarok-ffmpeg08.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list