[vlc-devel] commit: Typo ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jul 26 20:08:39 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 26 21:08:24 2009 +0300| [f29f7e10f0f4d74ef833da6603be7c7cef77e737] | committer: Rémi Denis-Courmont 

Typo

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

 modules/access/rtsp/real.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rtsp/real.c b/modules/access/rtsp/real.c
index fdd8dd1..997d177 100644
--- a/modules/access/rtsp/real.c
+++ b/modules/access/rtsp/real.c
@@ -600,7 +600,7 @@ int real_get_rdt_chunk(rtsp_client_t *rtsp_session, rmff_pheader_t *ph,
 
   int n;
   rmff_dump_pheader(ph, (char*)*buffer);
-  if (pf->length<12) return 0;
+  if (ph->length<12) return 0;
   n=rtsp_read_data(rtsp_session, (uint8_t*)(*buffer + 12), ph->length - 12);
   return (n <= 0) ? 0 : n+12;
 }




More information about the vlc-devel mailing list