[vlc-commits] Fix typo: bandwith -> bandwidth.

Benjamin Drung git at videolan.org
Fri Sep 7 01:21:44 CEST 2012


vlc/vlc-2.0 | branch: master | Benjamin Drung <bdrung at debian.org> | Fri Sep  7 01:13:27 2012 +0200| [f5b95a382e9f61b3ce1718719ed7c6c6c879686b] | committer: Rafaël Carré

Fix typo: bandwith -> bandwidth.

Signed-off-by: Rafaël Carré <funman at videolan.org>

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

 modules/access/rtmp/rtmp_amf_flv.c              |    8 ++++----
 modules/stream_filter/dash/mpd/Representation.h |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/access/rtmp/rtmp_amf_flv.c b/modules/access/rtmp/rtmp_amf_flv.c
index a639221..b3377eb 100644
--- a/modules/access/rtmp/rtmp_amf_flv.c
+++ b/modules/access/rtmp/rtmp_amf_flv.c
@@ -1077,7 +1077,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
 
     if( strcmp( "connect", string ) == 0 )
     {
-        /* Connection bandwith */
+        /* Connection bandwidth */
         tmp_rtmp_packet = rtmp_encode_onBWDone( p_thread, AMF_CALL_ONBWDONE );
 
         tmp_buffer = rtmp_encode_packet( p_thread, tmp_rtmp_packet );
@@ -1085,13 +1085,13 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
         i_ret = net_Write( p_thread, p_thread->fd, NULL, tmp_buffer, tmp_rtmp_packet->length_encoded );
         if( i_ret != tmp_rtmp_packet->length_encoded )
         {
-            msg_Err( p_thread, "failed send connection bandwith" );
+            msg_Err( p_thread, "failed send connection bandwidth" );
             goto error;
         }
         rtmp_packet_free( rtmp_packet );
         free( tmp_buffer );
 
-        /* Server bandwith */
+        /* Server bandwidth */
         tmp_rtmp_packet = rtmp_encode_server_bw( p_thread, RTMP_SERVER_BW );
 
         tmp_buffer = rtmp_encode_packet( p_thread, tmp_rtmp_packet );
@@ -1099,7 +1099,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
         i_ret = net_Write( p_thread, p_thread->fd, NULL, tmp_buffer, tmp_rtmp_packet->length_encoded );
         if( i_ret != tmp_rtmp_packet->length_encoded )
         {
-            msg_Err( p_thread, "failed send server bandwith" );
+            msg_Err( p_thread, "failed send server bandwidth" );
             goto error;
         }
         rtmp_packet_free( rtmp_packet );
diff --git a/modules/stream_filter/dash/mpd/Representation.h b/modules/stream_filter/dash/mpd/Representation.h
index 0d01c47..273ad96 100644
--- a/modules/stream_filter/dash/mpd/Representation.h
+++ b/modules/stream_filter/dash/mpd/Representation.h
@@ -49,7 +49,7 @@ namespace dash
                  *  @return The bitrate required for this representation
                  *          in Bytes per seconds.
                  *          Will be a valid value, as the parser refuses Representation
-                 *          without bandwith.
+                 *          without bandwidth.
                  */
                 int                 getBandwidth            () const;
                 void                setBandwidth            ( int bandwidth );



More information about the vlc-commits mailing list