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

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/fic.c+1−1
@@ -431,9 +431,9 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 430 unmodified lines
431431 }
432432
433433 skip:
434− *got_frame = 1;
435434 if ((ret = av_frame_ref(rframe, ctx->final_frame)) < 0)
436435 return ret;
436+ *got_frame = 1;
437437
438438 return avpkt->size;
439439 }

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