[vlc-commits] demux: vobsub: rename conversion to match chromas

Francois Cartegnie git at videolan.org
Mon Jan 6 18:39:33 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan  6 16:02:30 2020 +0100| [132f91286b4bb22cd7acb59fc76eedf11cfee982] | committer: Francois Cartegnie

demux: vobsub: rename conversion to match chromas

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=132f91286b4bb22cd7acb59fc76eedf11cfee982
---

 modules/demux/vobsub.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/vobsub.h b/modules/demux/vobsub.h
index 55ae0cf64e..9cd26ad0e5 100644
--- a/modules/demux/vobsub.h
+++ b/modules/demux/vobsub.h
@@ -20,7 +20,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-static inline void vobsub_palette_rgb2yuv( const uint32_t *src, uint32_t *dst )
+static inline void vobsub_palette_argb2ayvu( const uint32_t *src, uint32_t *dst )
 {
     int i;
     for( i = 0; i < 16; i++ )
@@ -49,7 +49,7 @@ static inline int vobsub_palette_parse( const char *psz_buf, uint32_t *pu_palett
                 &palette[8], &palette[9], &palette[10], &palette[11],
                 &palette[12], &palette[13], &palette[14], &palette[15] ) == 16 )
     {
-        vobsub_palette_rgb2yuv( palette, pu_palette );
+        vobsub_palette_argb2ayvu( palette, pu_palette );
         return VLC_SUCCESS;
     }
     else



More information about the vlc-commits mailing list