libeplayer3/container_ffmpeg: no need to scale the buffer

Origin commit data
------------------
Branch: master
Commit: 828049ccbb
Author: martii <m4rtii@gmx.de>
Date: 2013-03-04 (Mon, 04 Mar 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-03-04 17:37:44 +01:00
parent 75d60e7bc0
commit 4696a17def

View File

@@ -653,8 +653,6 @@ static void FFMPEGThread(Context_t *context) {
int is_planar = av_sample_fmt_is_planar(((AVStream*) audioTrack->stream)->codec->sample_fmt);
int nc = ((AVStream*) audioTrack->stream)->codec->channels;
if (is_planar)
samples_size *= nc;
uint8_t *samples = (unsigned char *)malloc(samples_size);