Browse code

libvo-aacenc: Fix assignments in if()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0ccb31dcad5a1543fbb284d66b0410b91ebd171d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/01/14 08:04:41
Showing 1 changed files
... ...
@@ -157,7 +157,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
157 157
             samples = (VO_PBYTE)frame->data[0];
158 158
         }
159 159
         /* add current frame to the queue */
160
-        if ((ret = ff_af_queue_add(&s->afq, frame) < 0))
160
+        if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
161 161
             return ret;
162 162
     }
163 163