You've already forked FFmpeg
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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user