Fix a seek regression in 1.0.26. 81/83881/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170105.024752 accepted/tizen/3.0.m2/tv/20170105.024927 accepted/tizen/3.0.m2/wearable/20170105.025051 accepted/tizen/3.0/common/20161114.111040 accepted/tizen/3.0/ivi/20161011.050507 accepted/tizen/3.0/mobile/20161015.033840 accepted/tizen/3.0/tv/20161016.005036 accepted/tizen/3.0/wearable/20161015.083220 accepted/tizen/common/20160818.144334 accepted/tizen/ivi/20160818.231816 accepted/tizen/mobile/20160818.231638 accepted/tizen/tv/20160818.231748 accepted/tizen/unified/20170309.040119 accepted/tizen/wearable/20160818.231717 submit/tizen/20160818.052348 submit/tizen_3.0.m2/20170104.093753 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003 submit/tizen_unified/20170308.100414
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 12 Aug 2016 12:46:52 +0000 (21:46 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 12 Aug 2016 12:46:52 +0000 (21:46 +0900)
https://github.com/erikd/libsndfile/commit/f29c0dc2091febb2df6198c38b1664c30c3ea77d

Change-Id: I3db5517f49ac93d1390838625805b76532781ae5

packaging/libsndfile.spec
src/sndfile.c

index 5de68c4..fe466f5 100644 (file)
@@ -1,6 +1,6 @@
 Name:           libsndfile
 Version:        1.0.26
-Release:        1
+Release:        2
 License:        LGPL-2.1+
 Summary:        C library for reading and writing sound files
 Group:          Multimedia/Audio
index cc74f97..3c077b0 100644 (file)
@@ -3000,11 +3000,10 @@ psf_open_file (SF_PRIVATE *psf, SF_INFO *sfinfo)
        if (psf->file.mode == SFM_WRITE)
        {       /* Zero out these fields. */
                sfinfo->frames = 0 ;
+               sfinfo->sections = 0 ;
+               sfinfo->seekable = 0 ;
                } ;
 
-       sfinfo->sections = 0 ;
-       sfinfo->seekable = 0 ;
-
        return (SNDFILE *) psf ;
 
 error_exit :