[FFmpeg-cvslog] avcodec/mlpenc: stop using hardcoded value

Paul B Mahol git at videolan.org
Sun Sep 5 16:04:14 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep  5 15:00:14 2021 +0200| [5852bb6b4be9f9a011de93f0272a55fc4c82dd57] | committer: Paul B Mahol

avcodec/mlpenc: stop using hardcoded value

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5852bb6b4be9f9a011de93f0272a55fc4c82dd57
---

 libavcodec/mlpenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c
index b8800aa21b..2229ba2a21 100644
--- a/libavcodec/mlpenc.c
+++ b/libavcodec/mlpenc.c
@@ -339,7 +339,7 @@ static int compare_decoding_params(MLPEncodeContext *ctx)
 
         if (prev_cp->codebook    != cp->codebook  ||
             prev_cp->huff_lsbs   != cp->huff_lsbs  )
-            retval |= 0x1;
+            retval |= PARAM_PRESENT;
     }
 
     return retval;



More information about the ffmpeg-cvslog mailing list