0001-fix-uwp.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. From 47eb8d07a8caaa6cc1e6e906a7cd5b44ee0fb624 Mon Sep 17 00:00:00 2001
  2. From: Mikhail Paulyshka <[email protected]>
  3. Date: Thu, 27 Jul 2017 04:24:36 +0300
  4. Subject: [PATCH] remove redundant assignments
  5. ---
  6. lib/tokenize.c | 16 ++++++++--------
  7. 1 file changed, 8 insertions(+), 8 deletions(-)
  8. diff --git a/lib/tokenize.c b/lib/tokenize.c
  9. index 57b7aa8..3f53fb5 100644
  10. --- a/lib/tokenize.c
  11. +++ b/lib/tokenize.c
  12. @@ -487,11 +487,11 @@ int oc_enc_tokenize_ac(oc_enc_ctx *_enc,int _pli,ptrdiff_t _fragi,
  13. zzj=64;
  14. for(zzi=OC_MINI(_zzi,63);zzi>0;zzi--){
  15. ogg_uint32_t best_cost;
  16. - int best_bits=best_bits;
  17. - int best_next=best_next;
  18. - int best_token=best_token;
  19. - int best_eb=best_eb;
  20. - int best_qc=best_qc;
  21. + int best_bits;
  22. + int best_next;
  23. + int best_token;
  24. + int best_eb;
  25. + int best_qc;
  26. ogg_uint32_t d2;
  27. int dq;
  28. int qc_m;
  29. @@ -1091,8 +1091,8 @@ void oc_enc_tokenize_dc_frag_list(oc_enc_ctx *_enc,int _pli,
  30. int neobs1;
  31. int token;
  32. int eb;
  33. - int token1=token1;
  34. - int eb1=eb1;
  35. + int token1;
  36. + int eb1;
  37. /*Return immediately if there are no coded fragments; otherwise we'd flush
  38. any trailing EOB run into the AC 1 list and never read it back out.*/
  39. if(_ncoded_fragis<=0)return;
  40. @@ -1328,7 +1328,7 @@ void oc_enc_tokenize_finish(oc_enc_ctx *_enc){
  41. int new_eb;
  42. int zzj;
  43. int plj;
  44. - ptrdiff_t ti=ti;
  45. + ptrdiff_t ti;
  46. int run_count;
  47. /*Make sure this coefficient has tokens at all.*/
  48. if(_enc->ndct_tokens[pli][zzi]<=0)continue;
  49. --
  50. 2.12.2.windows.2