mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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:

committed by
Michael Niedermayer

parent
0e465c1a81
commit
ae2c33b0c2
@ -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;
|
||||
|
Reference in New Issue
Block a user