diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-22 20:08:57 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-07 00:31:23 +0100 |
commit | d3c6156ce33911d1aa35fee3758f310f3a237696 (patch) | |
tree | b2488ec953042af1607f6df89e08f6f1830a2d2f /libavcodec | |
parent | 35e52d21dc77653b5466c7bc0696d26edcfa8bab (diff) | |
download | ffmpeg-d3c6156ce33911d1aa35fee3758f310f3a237696.tar.gz |
avcodec/qsvenc: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qsvenc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index af20ffb1c7..07be4287b7 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1844,17 +1844,17 @@ int ff_qsv_enc_close(AVCodecContext *avctx, QSVEncContext *q) QSVPacket pkt; while (av_fifo_read(q->async_fifo, &pkt, 1) >= 0) { #if QSV_VERSION_ATLEAST(1, 26) - if (avctx->codec_id == AV_CODEC_ID_H264) { - mfxExtBuffer **enc_buf = pkt.bs->ExtParam; - mfxExtAVCEncodedFrameInfo *enc_info = (mfxExtAVCEncodedFrameInfo *)(*enc_buf); - av_freep(&enc_info); - av_freep(&enc_buf); - } + if (avctx->codec_id == AV_CODEC_ID_H264) { + mfxExtBuffer **enc_buf = pkt.bs->ExtParam; + mfxExtAVCEncodedFrameInfo *enc_info = (mfxExtAVCEncodedFrameInfo *)(*enc_buf); + av_freep(&enc_info); + av_freep(&enc_buf); + } #endif - av_freep(&pkt.sync); - av_freep(&pkt.bs); - av_packet_unref(&pkt.pkt); - } + av_freep(&pkt.sync); + av_freep(&pkt.bs); + av_packet_unref(&pkt.pkt); + } av_fifo_freep2(&q->async_fifo); } |