diff options
author | Rodeo <[email protected]> | 2012-09-09 01:03:33 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-09-09 01:03:33 +0000 |
commit | ac59f6afae162450e7d3a4af8106dba75bc5b88f (patch) | |
tree | 263f2d28ba4a9f053889b6e55eff7b42acf8d050 /libhb/encx264.c | |
parent | 595c8164011910b67fe5bc4719dec7dc100d2623 (diff) |
encx264: use less generic names for some stuff.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4945 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 1edaf5693..889669381 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -701,11 +701,11 @@ int hb_apply_h264_level(x264_param_t *param, /* find the x264_level_t corresponding to the requested level */ if (h264_level != NULL && *h264_level) { - for (i = 0; h264_level_names[i]; i++) + for (i = 0; hb_h264_level_names[i]; i++) { - if (!strcmp(h264_level_names[i], h264_level)) + if (!strcmp(hb_h264_level_names[i], h264_level)) { - int val = h264_level_values[i]; + int val = hb_h264_level_values[i]; for (i = 0; x264_levels[i].level_idc; i++) { if (x264_levels[i].level_idc == val) @@ -871,14 +871,14 @@ const char * const * hb_x264_profiles() const char * const * hb_h264_levels() { - return h264_level_names; + return hb_h264_level_names; } -const char * hb_x264_encopt_name( const char * name ) +const char * hb_x264_encopt_name(const char *name) { int i; - for( i = 0; x264_encopt_synonyms[i] && x264_encopt_synonyms[i+1]; i += 2 ) - if( !strcmp( name, x264_encopt_synonyms[i+1] ) ) - return x264_encopt_synonyms[i]; + for (i = 0; hb_x264_encopt_synonyms[i] && hb_x264_encopt_synonyms[i+1]; i += 2) + if (!strcmp(name, hb_x264_encopt_synonyms[i+1])) + return hb_x264_encopt_synonyms[i]; return name; } |