diff options
-rw-r--r-- | media/libstagefright/rtsp/AH263Assembler.cpp | 2 | ||||
-rw-r--r-- | media/libstagefright/rtsp/ARTPWriter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/rtsp/AH263Assembler.cpp b/media/libstagefright/rtsp/AH263Assembler.cpp index 8b59998..2818041 100644 --- a/media/libstagefright/rtsp/AH263Assembler.cpp +++ b/media/libstagefright/rtsp/AH263Assembler.cpp @@ -110,7 +110,7 @@ ARTPAssembler::AssemblyStatus AH263Assembler::addPacket( buffer->data()[0] = 0x00; buffer->data()[1] = 0x00; } else { - buffer->setRange(2, buffer->size() - 2); + buffer->setRange(buffer->offset() + 2, buffer->size() - 2); } mPackets.push_back(buffer); diff --git a/media/libstagefright/rtsp/ARTPWriter.cpp b/media/libstagefright/rtsp/ARTPWriter.cpp index cc23856..d6dd597 100644 --- a/media/libstagefright/rtsp/ARTPWriter.cpp +++ b/media/libstagefright/rtsp/ARTPWriter.cpp @@ -43,7 +43,7 @@ ARTPWriter::ARTPWriter(int fd) #if 1 mRTPAddr.sin_addr.s_addr = INADDR_ANY; #else - mRTPAddr.sin_addr.s_addr = inet_addr("172.19.19.74"); + mRTPAddr.sin_addr.s_addr = inet_addr("172.19.18.246"); #endif mRTPAddr.sin_port = htons(5634); |