History

lavc/hevcdec: constify source frame in hevc_ref_frame()

Anton Khirnov committed 2 years ago

Commit 08ea7d61 parent ccd391d1 file · +1 −1Browse files

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

Unified · Split

libavcodec/hevc/hevcdec.c+1−1
@@ -3449,7 +3449,7 @@ static int hevc_decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 3448 unmodified lines
34493449 return avpkt->size;
34503450 }
34513451
3452−static int hevc_ref_frame(HEVCFrame *dst, HEVCFrame *src)
3452+static int hevc_ref_frame(HEVCFrame *dst, const HEVCFrame *src)
34533453 {
34543454 int ret;
34553455

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