mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 21:30:55 +00:00
rtmp: Reindent
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
271c869cc3
commit
48b1fb1397
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user