[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/ldecod/global.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 6 12:41:57 PST 2006
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod:
global.h updated: 1.1 -> 1.2
---
Log message:
Don't overflow filename buffers. grr.
---
Diffs of the changes: (+4 -4)
global.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm-test/MultiSource/Applications/JM/ldecod/global.h
diff -u llvm-test/MultiSource/Applications/JM/ldecod/global.h:1.1 llvm-test/MultiSource/Applications/JM/ldecod/global.h:1.2
--- llvm-test/MultiSource/Applications/JM/ldecod/global.h:1.1 Sat Feb 11 04:33:22 2006
+++ llvm-test/MultiSource/Applications/JM/ldecod/global.h Mon Mar 6 14:41:44 2006
@@ -654,9 +654,9 @@
// input parameters from configuration file
struct inp_par
{
- char infile[100]; //!< H.264 inputfile
- char outfile[100]; //!< Decoded YUV 4:2:0 output
- char reffile[100]; //!< Optional YUV 4:2:0 reference file for SNR measurement
+ char infile[1000]; //!< H.264 inputfile
+ char outfile[1000]; //!< Decoded YUV 4:2:0 output
+ char reffile[1000]; //!< Optional YUV 4:2:0 reference file for SNR measurement
int FileFormat; //!< File format of the Input file, PAR_OF_ANNEXB or PAR_OF_RTP
int ref_offset;
int poc_scale;
@@ -666,7 +666,7 @@
unsigned long R_decoder; //!< Decoder Rate in HRD Model
unsigned long B_decoder; //!< Decoder Buffer size in HRD model
unsigned long F_decoder; //!< Decoder Initial buffer fullness in HRD model
- char LeakyBucketParamFile[100]; //!< LeakyBucketParamFile
+ char LeakyBucketParamFile[1000]; //!< LeakyBucketParamFile
#endif
// picture error concealment
More information about the llvm-commits
mailing list