projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271c869
)
rtmp: Reindent
author
Martin Storsjö
<martin@martin.st>
Wed, 25 May 2011 19:01:15 +0000
(22:01 +0300)
committer
Martin Storsjö
<martin@martin.st>
Wed, 25 May 2011 19:01:21 +0000
(22:01 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmppkt.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmppkt.c
b/libavformat/rtmppkt.c
index
93790eb
..
35ef7fd
100644
(file)
--- a/
libavformat/rtmppkt.c
+++ b/
libavformat/rtmppkt.c
@@
-234,9
+234,9
@@
int ff_rtmp_packet_create(RTMPPacket *pkt, int channel_id, RTMPPacketType type,
int timestamp, int size)
{
if (size) {
- pkt->data = av_malloc(size);
- if (!pkt->data)
- return AVERROR(ENOMEM);
+
pkt->data = av_malloc(size);
+
if (!pkt->data)
+
return AVERROR(ENOMEM);
}
pkt->data_size = size;
pkt->channel_id = channel_id;