summaryrefslogtreecommitdiff
path: root/libavformat/rtmppkt.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-25 22:01:15 +0300
committerMartin Storsjö <martin@martin.st>2011-05-25 22:01:21 +0300
commit48b1fb1397281dd16df909b6f33c2c36e5626f0a (patch)
tree1ad0060fc96f7912e104948b6d5755ec3c85fc46 /libavformat/rtmppkt.c
parent271c869cc3285dac2b6f2663a87c70bf3ba2b04f (diff)
rtmp: Reindent
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r--libavformat/rtmppkt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c
index 93790eb525..35ef7fdaae 100644
--- 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;