cosmetics: remove superfluous curly brackets

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Paul B Mahol
2012-03-22 20:22:39 +00:00
committed by Michael Niedermayer
parent 0e465c1a81
commit ae2c33b0c2
68 changed files with 68 additions and 136 deletions

View File

@ -381,9 +381,8 @@ static int libschroedinger_encode_frame(AVCodecContext *avccontext, AVPacket *pk
pkt_size = p_frame_output->size;
if (last_frame_in_sequence && p_schro_params->enc_buf_size > 0)
pkt_size += p_schro_params->enc_buf_size;
if ((ret = ff_alloc_packet2(avccontext, pkt, pkt_size)) < 0) {
if ((ret = ff_alloc_packet2(avccontext, pkt, pkt_size)) < 0)
goto error;
}
memcpy(pkt->data, p_frame_output->p_encbuf, p_frame_output->size);
avccontext->coded_frame->key_frame = p_frame_output->key_frame;