History

avcodec/fic: Don't prematurely claim to have decoded a frame

Andreas Rheinhardt committed 1 year ago

Commit 8bed9441 parent 4c69f301 file · +1 −1Browse files

Unified · Split

libavcodec/fic.c+1−1
@@ -431,9 +431,9 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 430 unmodified lines
431 }431 }
432 432
433skip:433skip:
434 *got_frame = 1;
435 if ((ret = av_frame_ref(rframe, ctx->final_frame)) < 0)434 if ((ret = av_frame_ref(rframe, ctx->final_frame)) < 0)
436 return ret;435 return ret;
436 *got_frame = 1;
437 437
438 return avpkt->size;438 return avpkt->size;
439}439}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t