summaryrefslogtreecommitdiff
path: root/rotord/src/libavwrapper.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-02-17 13:36:38 +0000
committerTim Redfern <tim@eclectronics.org>2014-02-17 13:36:38 +0000
commit22e28216336da876e1fd17f380ce42eaf1446769 (patch)
tree444dad3dc7e2656992d29f34f7bce31970c122a5 /rotord/src/libavwrapper.cpp
parentae5e8541f6e06e64c28719467cdf366ac57aff31 (diff)
chasing indexing error
Diffstat (limited to 'rotord/src/libavwrapper.cpp')
-rw-r--r--rotord/src/libavwrapper.cpp4
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) {