diff options
author | Martin Storsjö <martin@martin.st> | 2011-05-25 22:01:15 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-05-25 22:01:21 +0300 |
commit | 48b1fb1397281dd16df909b6f33c2c36e5626f0a (patch) | |
tree | 1ad0060fc96f7912e104948b6d5755ec3c85fc46 /libavformat/rtmppkt.c | |
parent | 271c869cc3285dac2b6f2663a87c70bf3ba2b04f (diff) | |
download | ffmpeg-48b1fb1397281dd16df909b6f33c2c36e5626f0a.tar.gz |
rtmp: Reindent
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r-- | libavformat/rtmppkt.c | 6 |
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; |