[FFmpeg-devel] [PATCH] avformat/dashdec: reformat and lowercase get_Fragment()

Marth64 marth64 at proxyid.net
Wed Nov 20 09:35:04 EET 2024


Signed-off-by: Marth64 <marth64 at proxyid.net>
---
 libavformat/dashdec.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index a1d274f2f0..8107280444 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -578,9 +578,9 @@ static enum AVMediaType get_content_type(xmlNodePtr node)
     return type;
 }
 
-static struct fragment * get_Fragment(char *range)
+static struct fragment *get_fragment(char *range)
 {
-    struct fragment * seg =  av_mallocz(sizeof(struct fragment));
+    struct fragment *seg = av_mallocz(sizeof(struct fragment));
 
     if (!seg)
         return NULL;
@@ -614,7 +614,7 @@ static int parse_manifest_segmenturlnode(AVFormatContext *s, struct representati
         range_val = xmlGetProp(fragmenturl_node, "range");
         if (initialization_val || range_val) {
             free_fragment(&rep->init_section);
-            rep->init_section = get_Fragment(range_val);
+            rep->init_section = get_fragment(range_val);
             xmlFree(range_val);
             if (!rep->init_section) {
                 xmlFree(initialization_val);
@@ -635,7 +635,7 @@ static int parse_manifest_segmenturlnode(AVFormatContext *s, struct representati
         media_val = xmlGetProp(fragmenturl_node, "media");
         range_val = xmlGetProp(fragmenturl_node, "mediaRange");
         if (media_val || range_val) {
-            struct fragment *seg = get_Fragment(range_val);
+            struct fragment *seg = get_fragment(range_val);
             xmlFree(range_val);
             if (!seg) {
                 xmlFree(media_val);
-- 
2.34.1



More information about the ffmpeg-devel mailing list