History

avcodec/error_resilience: Constify ThreadFrame*

Forgotten in 0eb399ac3953da16f880a1e455bb009a45f76d49. While just at it, also use a forward declaration.

Andreas Rheinhardt committed 3 years ago

Commit a7663c91 parent 68f9dfa2 files · +2 −2Browse files

Showing the changes to libavcodec (2 of 2 files). Show all

Unified · Split

2 files
  1. libavcodec/error_resilience.h +1 −2
  2. libavcodec/h264dec.h +1 −0
libavcodec/error_resilience.h+1−2
@@ -24,7 +24,6 @@ · 23 unmodified lines
2424
2525 #include "avcodec.h"
2626 #include "me_cmp.h"
27−#include "threadframe.h"
2827
2928 ///< current MB is the first after a resync marker
3029 #define VP_START 1
@@ -40,7 +39,7 @@ · 9 unmodified lines
4039
4140 typedef struct ERPicture {
4241 AVFrame *f;
43− ThreadFrame *tf;
42+ const struct ThreadFrame *tf;
4443
4544 // it is the caller's responsibility to allocate these buffers
4645 int16_t (*motion_val[2])[2];
libavcodec/h264dec.h+1−0
@@ -43,6 +43,7 @@ · 42 unmodified lines
4343 #include "h264qpel.h"
4444 #include "h274.h"
4545 #include "mpegutils.h"
46+#include "threadframe.h"
4647 #include "videodsp.h"
4748
4849 #define H264_MAX_PICTURE_COUNT 36

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