[vlc-commits] Fix C&P error (cid #1049313)
    Rémi Duraffort 
    git at videolan.org
       
    Mon Jul 22 17:51:27 CEST 2013
    
    
  
vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 17:16:55 2013 +0200| [fbbb257f0691db351828a154fbbc7635c3af0b14] | committer: Jean-Baptiste Kempf
Fix C&P error (cid #1049313)
(cherry picked from commit f5df418a5ea952d812de748052ca1dc61f574f93)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=fbbb257f0691db351828a154fbbc7635c3af0b14
---
 src/misc/es_format.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index 1e7c51f..352bd5b 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -435,7 +435,7 @@ bool es_format_IsSimilar( const es_format_t *p_fmt1, const es_format_t *p_fmt2 )
         if( !v1.i_chroma )
             v1.i_chroma = vlc_fourcc_GetCodec( p_fmt1->i_cat, p_fmt1->i_codec );
         if( !v2.i_chroma )
-            v2.i_chroma = vlc_fourcc_GetCodec( p_fmt1->i_cat, p_fmt2->i_codec );
+            v2.i_chroma = vlc_fourcc_GetCodec( p_fmt2->i_cat, p_fmt2->i_codec );
         return video_format_IsSimilar( &p_fmt1->video, &p_fmt2->video );
     }
 
    
    
More information about the vlc-commits
mailing list