Skip to content

Commit

Permalink
avcodec/diracdec: Don't use EDGE_WIDTH from mpegpicture.h
Browse files Browse the repository at this point in the history
There is nothing that forces us to use the same value
as mpegvideo_enc.c, so define our own constant.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
  • Loading branch information
mkver committed May 7, 2024
1 parent 2eab5a1 commit 39ce8a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libavcodec/diracdec.c
Expand Up @@ -37,14 +37,15 @@
#include "golomb.h"
#include "dirac_arith.h"
#include "dirac_vlc.h"
#include "mpegpicture.h"
#include "mpegvideoencdsp.h"
#include "dirac_dwt.h"
#include "dirac.h"
#include "diractab.h"
#include "diracdsp.h"
#include "videodsp.h"

#define EDGE_WIDTH 16

/**
* The spec limits this to 3 for frame coding, but in practice can be as high as 6
*/
Expand Down

0 comments on commit 39ce8a9

Please sign in to comment.