projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move networking #includes into separate file
[libav.git]
/
libavformat
/
rtp_h264.c
diff --git
a/libavformat/rtp_h264.c
b/libavformat/rtp_h264.c
index
68066aa
..
2d31822
100644
(file)
--- a/
libavformat/rtp_h264.c
+++ b/
libavformat/rtp_h264.c
@@
-41,12
+41,8
@@
#include "bitstream.h"
#include <unistd.h>
#include "bitstream.h"
#include <unistd.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
+#include "network.h"
#include <assert.h>
#include <assert.h>
-#include <arpa/inet.h>
-#include <netdb.h>
#include "rtp_internal.h"
#include "rtp_h264.h"
#include "rtp_internal.h"
#include "rtp_h264.h"
@@
-209,7
+205,7
@@
static int h264_handle_packet(RTPDemuxContext * s,
int src_len= len;
do {
int src_len= len;
do {
- uint16_t nal_size =
BE_
16(src); // this going to be a problem if unaligned (can it be?)
+ uint16_t nal_size =
AV_RB
16(src); // this going to be a problem if unaligned (can it be?)
// consume the length of the aggregate...
src += 2;
// consume the length of the aggregate...
src += 2;