You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mpeg4video: Move IS_3IV1 macro to mpeg4videodec.c
Also add parentheses around the replacement to make it safer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -36,12 +36,6 @@ void ff_mpeg4_init_direct_mv(MpegEncContext *s);
|
||||
*/
|
||||
int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my);
|
||||
|
||||
#if 0 //3IV1 is quite rare and it slows things down a tiny bit
|
||||
#define IS_3IV1 s->codec_tag == AV_RL32("3IV1")
|
||||
#else
|
||||
#define IS_3IV1 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Predict the dc.
|
||||
* @param n block index (0-3 are luma, 4-5 are chroma)
|
||||
|
@ -49,6 +49,12 @@
|
||||
#include "xvididct.h"
|
||||
#include "unary.h"
|
||||
|
||||
#if 0 //3IV1 is quite rare and it slows things down a tiny bit
|
||||
#define IS_3IV1 (s->codec_tag == AV_RL32("3IV1"))
|
||||
#else
|
||||
#define IS_3IV1 0
|
||||
#endif
|
||||
|
||||
/* The defines below define the number of bits that are read at once for
|
||||
* reading vlc values. Changing these may improve speed and data cache needs
|
||||
* be aware though that decreasing them may need the number of stages that is
|
||||
|
Reference in New Issue
Block a user