[FFmpeg-devel] Patch: cosmetics : reindent in asfdec.c

avcoder ffmpeg
Tue Mar 17 15:36:24 CET 2009


Dear Diego:
It seems that you apply a revised version

but you still ignore one point

Index: asfdec.c
===================================================================
--- asfdec.c ??? 18025?
+++ asfdec.c ??????
@@ -403,14 +403,14 @@

             desc_count = get_le16(pb);
             for(i=0;i<desc_count;i++) {
-                    int name_len,value_type,value_len;
-                    char name[1024];
+                int name_len,value_type,value_len;
+                char name[1024];

-                    name_len = get_le16(pb);
-                    get_str16_nolen(pb, name_len, name, sizeof(name));
-                    value_type = get_le16(pb);
-                    value_len  = get_le16(pb);
-                    get_tag(s, name, value_type, value_len);
+                name_len = get_le16(pb);
+                get_str16_nolen(pb, name_len, name, sizeof(name));
+                value_type = get_le16(pb);
+                value_len  = get_le16(pb);
+                get_tag(s, name, value_type, value_len);
             }
         } else if (!memcmp(&g, &ff_asf_metadata_header, sizeof(GUID))) {
             int n, stream_num, name_len, value_len, value_type, value_num;


On Tue, Mar 17, 2009 at 8:27 PM, Diego Biurrun <diego at biurrun.de> wrote:

> On Tue, Mar 17, 2009 at 06:40:20PM +0800, avcoder wrote:
> > As $subject
>
> Applied.
>
> Diego
>
>
-- 
----------------------------------------------
Inspired by http://nextchat.mobi
Your potential. Our passion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reindent_asfdec.patch
Type: application/octet-stream
Size: 1126 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090317/e9aaf9d3/attachment.obj>



More information about the ffmpeg-devel mailing list