Changeset 8250214
- Timestamp:
- Apr 7, 2017, 3:16:43 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
- Children:
- f4dbf64b
- Parents:
- 7a2666f
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r7a2666f r8250214 43 43 44 44 // backward compatibility with libavcodec55 45 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(57,0,0) 46 #define HAVE_AUBIO_LIBAVCODEC_DEPRECATED 1 47 #endif 48 45 49 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,28,1) 46 #warning "libavcodec55 is deprecated" 47 #define HAVE_AUBIO_LIBAVCODEC_DEPRECATED 1 50 #warning "libavcodec < 56 is deprecated" 48 51 #define av_frame_alloc avcodec_alloc_frame 49 52 #define av_frame_free avcodec_free_frame … … 575 578 if (s->avFormatCtx != NULL) { 576 579 avformat_close_input(&s->avFormatCtx); 577 #ifndef HAVE_AUBIO_LIBAVCODEC_DEPRECATED // avoid crash on old libavcodec54578 avformat_free_context(s->avFormatCtx);579 #endif580 580 s->avFormatCtx = NULL; 581 581 } -
this_version.py
r7a2666f r8250214 1 1 #! python 2 2 import os 3 import sys 3 4 4 5 __version_info = {} # keep a reference to parse VERSION once … … 82 83 gitsha = subprocess.check_output(gitcmd).strip().decode('utf8') 83 84 except Exception as e: 84 print('git command error :%s' % e)85 sys.stderr.write('git command error :%s\n' % e) 85 86 return None 86 87 # check if we have a clean tree … … 89 90 output = subprocess.check_output(gitcmd).decode('utf8') 90 91 if len(output): 91 print('Info: current tree is not clean\n')92 print(output)92 sys.stderr.write('Info: current tree is not clean\n\n') 93 sys.stderr.write(output + '\n') 93 94 gitsha += '+mods' 94 95 except subprocess.CalledProcessError as e: 95 print (e)96 sys.stderr.write('git command error :%s\n' % e) 96 97 pass 97 98 return gitsha
Note: See TracChangeset
for help on using the changeset viewer.