History

avformat/rtpdec_rfc4175: cosmetic changes

Limin Wang committed 4 years ago

Commit 2f28f6c1 parent 6cf55b91 file · +8 −8Browse files

Unified · Split

libavformat/rtpdec_rfc4175.c+8−8
@@ -195,17 +195,17 @@ static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index, · 194 unmodified lines
195195 static int rfc4175_finalize_packet(PayloadContext *data, AVPacket *pkt,
196196 int stream_index)
197197 {
198− int ret;
198+ int ret;
199199
200− pkt->stream_index = stream_index;
201− ret = av_packet_from_data(pkt, data->frame, data->frame_size);
202− if (ret < 0) {
203− av_freep(&data->frame);
204− }
200+ pkt->stream_index = stream_index;
201+ ret = av_packet_from_data(pkt, data->frame, data->frame_size);
202+ if (ret < 0) {
203+ av_freep(&data->frame);
204+ }
205205
206− data->frame = NULL;
206+ data->frame = NULL;
207207
208− return ret;
208+ return ret;
209209 }
210210
211211 static int rfc4175_handle_packet(AVFormatContext *ctx, PayloadContext *data,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t