[easytag] Fix MPEG 2.5 header information



commit 7e69190b9928b554b154ce8a42d9553334a3c0a5
Author: David King <amigadave amigadave com>
Date:   Thu Dec 5 19:26:34 2013 +0000

    Fix MPEG 2.5 header information
    
    Found with cppcheck.

 src/mpeg_header.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mpeg_header.c b/src/mpeg_header.c
index 66af6f7..999775d 100644
--- a/src/mpeg_header.c
+++ b/src/mpeg_header.c
@@ -110,8 +110,8 @@ Mpeg_Header_Read_File_Info (gchar *filename, ET_File_Info *ETFileInfo)
                 ETFileInfo->mpeg25 = FALSE;
                 break;
             case MPEGVERSION_2_5:
+                ETFileInfo->version = 2;
                 ETFileInfo->mpeg25 = TRUE;
-                ETFileInfo->mpeg25 = FALSE;
                 break;
             default:
                 break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]