[FFmpeg-cvslog] avformat/rtpdec_rfc4175: cosmetic changes

Limin Wang git at videolan.org
Tue Dec 14 16:38:15 EET 2021


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Sat Dec  4 10:24:01 2021 +0800| [2f28f6c4b9bd31f0928cbbabae9a2ae41582b1e6] | committer: Limin Wang

avformat/rtpdec_rfc4175: cosmetic changes

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f28f6c4b9bd31f0928cbbabae9a2ae41582b1e6
---

 libavformat/rtpdec_rfc4175.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c
index 7feefd2fff..a66e00d5fe 100644
--- a/libavformat/rtpdec_rfc4175.c
+++ b/libavformat/rtpdec_rfc4175.c
@@ -195,17 +195,17 @@ static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index,
 static int rfc4175_finalize_packet(PayloadContext *data, AVPacket *pkt,
                                    int stream_index)
 {
-   int ret;
+    int ret;
 
-   pkt->stream_index = stream_index;
-   ret = av_packet_from_data(pkt, data->frame, data->frame_size);
-   if (ret < 0) {
-       av_freep(&data->frame);
-   }
+    pkt->stream_index = stream_index;
+    ret = av_packet_from_data(pkt, data->frame, data->frame_size);
+    if (ret < 0) {
+        av_freep(&data->frame);
+    }
 
-   data->frame = NULL;
+    data->frame = NULL;
 
-   return ret;
+    return ret;
 }
 
 static int rfc4175_handle_packet(AVFormatContext *ctx, PayloadContext *data,



More information about the ffmpeg-cvslog mailing list