X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fatrac3.c;h=efaadc93fc455541dcf248d49a2e11c47f2e80a7;hb=f57ab7ed376eea3ebb808583cdef7af4b0e1144e;hp=fcf7c925eb0889a7a8f6cbe7830ab5426063e1b2;hpb=9af6abdc17deb95c9b1f1d9242ba49b8b5e0b016;p=ffmpeg diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index fcf7c925eb0..efaadc93fc4 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -744,7 +744,7 @@ static int decodeFrame(ATRAC3Context *q, const uint8_t* databuf, result = decodeChannelSoundUnit(q,&q->gb, q->pUnits, out_samples[0], 0, JOINT_STEREO); if (result != 0) - return (result); + return result; /* Framedata of the su2 in the joint-stereo mode is encoded in * reverse byte order so we need to swap it first. */ @@ -785,7 +785,7 @@ static int decodeFrame(ATRAC3Context *q, const uint8_t* databuf, /* Decode Sound Unit 2. */ result = decodeChannelSoundUnit(q,&q->gb, &q->pUnits[1], out_samples[1], 1, JOINT_STEREO); if (result != 0) - return (result); + return result; /* Reconstruct the channel coefficients. */ reverseMatrixing(out_samples[0], out_samples[1], q->matrix_coeff_index_prev, q->matrix_coeff_index_now); @@ -804,7 +804,7 @@ static int decodeFrame(ATRAC3Context *q, const uint8_t* databuf, result = decodeChannelSoundUnit(q,&q->gb, &q->pUnits[i], out_samples[i], i, q->codingMode); if (result != 0) - return (result); + return result; } }