History

all: Use av_frame_replace() where appropriate

Andreas Rheinhardt committed 3 years ago

Commit cfa47fd1 parent 048778631 files · +34 −67Browse files

Showing the changes to libavcodec/bink.c (1 of 31 files). Show all

Unified · Split

libavcodec/bink.c+1−2
@@ -1300,8 +1300,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame, · 1299 unmodified lines
1300 emms_c();1300 emms_c();
1301 1301
1302 if (c->version > 'b') {1302 if (c->version > 'b') {
1303 av_frame_unref(c->last);1303 if ((ret = av_frame_replace(c->last, frame)) < 0)
1304 if ((ret = av_frame_ref(c->last, frame)) < 0)
1305 return ret;1304 return ret;
1306 }1305 }
1307 1306

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