diff options
Diffstat (limited to 'rotord/src/libavwrapper.cpp')
| -rw-r--r-- | rotord/src/libavwrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp index 4a8315f..6c17537 100644 --- a/rotord/src/libavwrapper.cpp +++ b/rotord/src/libavwrapper.cpp @@ -70,11 +70,11 @@ bool libav::video_decoder::open(const std::string& filename){ FFMS_WriteIndex(idxfile.c_str(),index,&err); cerr<<"FFMS2: created index "<<idxfile<<endl; } - cerr<<"FFMS2: "<<filename<<" cannot be indexed "<<endl; + else cerr<<"FFMS2: "<<filename<<" cannot be indexed "<<endl; } if (index == NULL) { std::cerr<<"ffmpegsource: "<<err.Buffer<<std::endl; - return false; + return false; //temp removal 170214 causes core dump } int trackno = FFMS_GetFirstTrackOfType(index, FFMS_TYPE_VIDEO, &err); if (trackno < 0) { |
