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
37#include "golomb.h"37#include "golomb.h"
38#include "dirac_arith.h"38#include "dirac_arith.h"
39#include "dirac_vlc.h"39#include "dirac_vlc.h"
40#include "mpegpicture.h"
41#include "mpegvideoencdsp.h"40#include "mpegvideoencdsp.h"
42#include "dirac_dwt.h"41#include "dirac_dwt.h"
43#include "dirac.h"42#include "dirac.h"
@@ -45,6 +44,8 @@ · 1 unmodified line
45#include "diracdsp.h"44#include "diracdsp.h"
46#include "videodsp.h"45#include "videodsp.h"
47 46
47#define EDGE_WIDTH 16
48
48/**49/**
49 * The spec limits this to 3 for frame coding, but in practice can be as high as 650 * The spec limits this to 3 for frame coding, but in practice can be as high as 6
50 */51 */

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