rtsp: Improved base64 decoding in fill_bytes().
authorPeter Kjellerstedt <pkj@axis.com>
Wed, 17 Jun 2009 13:37:53 +0000 (15:37 +0200)
committerPeter Kjellerstedt <pkj@axis.com>
Wed, 17 Jun 2009 15:53:54 +0000 (17:53 +0200)
commite1a4c8871abb22275ceca03a0530e6b19ce8be6d
tree3965bb43f5a4f3743ac8f4130400fbc3a3af0c03
parentffd90dda89f92b0138d26f1f203360f60846d09c
rtsp: Improved base64 decoding in fill_bytes().

The base64 decoding in fill_bytes() expected the size of the read data to
be evenly divisible by four (which is true for the base64 encoded data
itself). This did not, however, take whitespace (especially line breaks)
into account and would fail the decoding if any whitespace was present.
gst-libs/gst/rtsp/gstrtspconnection.c