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
195static int rfc4175_finalize_packet(PayloadContext *data, AVPacket *pkt,195static int rfc4175_finalize_packet(PayloadContext *data, AVPacket *pkt,
196 int stream_index)196 int stream_index)
197{197{
198 int ret;198 int ret;
199 199
200 pkt->stream_index = stream_index;200 pkt->stream_index = stream_index;
201 ret = av_packet_from_data(pkt, data->frame, data->frame_size);201 ret = av_packet_from_data(pkt, data->frame, data->frame_size);
202 if (ret < 0) {202 if (ret < 0) {
203 av_freep(&data->frame);203 av_freep(&data->frame);
204 }204 }
205 205
206 data->frame = NULL;206 data->frame = NULL;
207 207
208 return ret;208 return ret;
209}209}
210 210
211static int rfc4175_handle_packet(AVFormatContext *ctx, PayloadContext *data,211static 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