1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-07-06 06:27:36 +02:00

avcodec/libxevd: Reindent after the previous commit

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2024-02-27 20:08:30 +01:00
parent cb9fb80c7f
commit c4dceb8354

View File

@ -255,10 +255,10 @@ static av_cold int libxevd_init(AVCodecContext *avctx)
static int libxevd_return_frame(AVCodecContext *avctx, AVFrame *frame, static int libxevd_return_frame(AVCodecContext *avctx, AVFrame *frame,
XEVD_IMGB *imgb, AVPacket **pkt_au) XEVD_IMGB *imgb, AVPacket **pkt_au)
{ {
AVPacket *pkt_au_imgb = (AVPacket*)imgb->pdata[0];
int ret; int ret;
AVPacket* pkt_au_imgb = (AVPacket*)imgb->pdata[0]; if (!pkt_au_imgb) {
if(!pkt_au_imgb) {
av_log(avctx, AV_LOG_ERROR, "Invalid data needed to fill frame properties\n"); av_log(avctx, AV_LOG_ERROR, "Invalid data needed to fill frame properties\n");
if (pkt_au) if (pkt_au)
@ -273,7 +273,7 @@ static int libxevd_return_frame(AVCodecContext *avctx, AVFrame *frame,
// got frame // got frame
ret = libxevd_image_copy(avctx, imgb, frame); ret = libxevd_image_copy(avctx, imgb, frame);
if(ret < 0) { if (ret < 0) {
av_log(avctx, AV_LOG_ERROR, "Image copying error\n"); av_log(avctx, AV_LOG_ERROR, "Image copying error\n");
av_packet_free(&pkt_au_imgb); av_packet_free(&pkt_au_imgb);