[FFmpeg-devel] [PATCH] mov reference files search improvement

Diego Biurrun diego
Wed Sep 2 13:02:50 CEST 2009


On Wed, Sep 02, 2009 at 01:26:11PM +0300, Maksym Veremeyenko wrote:
> Diego Biurrun ???????(??):
> >On Wed, Sep 02, 2009 at 09:55:32AM +0300, Maksym Veremeyenko wrote:
> >>--- libavformat/mov.c	(revision 19698)
> >>+++ libavformat/mov.c	(working copy)
> >>@@ -1513,6 +1538,115 @@
> >> 
> >>+    /* build relative */
> >>+    if(ref->file_name)
> >>+    {
> >
> >if (ref->file_name) {
> >
> fixed

No.

> >>+        if(ref->directory_name)
> >
> >if (
> >
> >more below
> fixed all *if* and *for* statements

No.

You put the { on the next line, keep it on the same.

> Updated patch attached.
> 
> --- libavformat/mov.c	(revision 19698)
> +++ libavformat/mov.c	(working copy)
> @@ -1513,6 +1544,121 @@
>  
> +    /* free aliases */
> +    for (i = 0; aliases[i] ; i++) av_free(aliases[i]);

Put the statement on the next line, like everywhere else in this file.

Diego



More information about the ffmpeg-devel mailing list