History

avcodec/diracdec: Don't use EDGE_WIDTH from mpegpicture.h

There is nothing that forces us to use the same value as mpegvideo_enc.c, so define our own constant.

Andreas Rheinhardt committed 2 years ago

Commit 39ce8a91 parent 2eab5a11 file · +2 −1Browse files

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

Unified · Split

libavcodec/diracdec.c+2−1
@@ -37,7 +37,6 @@ · 36 unmodified lines
3737 #include "golomb.h"
3838 #include "dirac_arith.h"
3939 #include "dirac_vlc.h"
40−#include "mpegpicture.h"
4140 #include "mpegvideoencdsp.h"
4241 #include "dirac_dwt.h"
4342 #include "dirac.h"
@@ -45,6 +44,8 @@ · 1 unmodified line
4544 #include "diracdsp.h"
4645 #include "videodsp.h"
4746
47+#define EDGE_WIDTH 16
48+
4849 /**
4950 * The spec limits this to 3 for frame coding, but in practice can be as high as 6
5051 */

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