"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/api-cpp/VideoTrack.cpp" between
heif-3.6.1.tar.gz and heif-3.6.2.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

VideoTrack.cpp  (heif-3.6.1):VideoTrack.cpp  (heif-3.6.2)
/* /*
* This file is part of Nokia HEIF library * This file is part of Nokia HEIF library
* *
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved. * Copyright (c) 2015-2021 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved.
* *
* Contact: heif@nokia.com * Contact: heif@nokia.com
* *
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are reserved. Copying, including reproducing, storin g, adapting or translating, any or all * subsidiaries. All rights are reserved. Copying, including reproducing, storin g, adapting or translating, any or all
* of this material requires the prior written consent of Nokia. * of this material requires the prior written consent of Nokia.
*/ */
#include "VideoTrack.h" #include "VideoTrack.h"
skipping to change at line 83 skipping to change at line 83
{ {
if (smpl->getId() == Heif::InvalidSequenceImage) if (smpl->getId() == Heif::InvalidSequenceImage)
{ {
err = smpl->save(aWriter); err = smpl->save(aWriter);
} }
if (HEIF::ErrorCode::OK != err) if (HEIF::ErrorCode::OK != err)
{ {
break; break;
} }
} }
HEIF::ErrorCode ret = Track::save(aWriter); if (HEIF::ErrorCode::OK == err)
return ret; {
err = Track::save(aWriter);
}
return err;
} }
void VideoTrack::addSample(VideoSample* aSample) void VideoTrack::addSample(VideoSample* aSample)
{ {
Track::addSample(aSample); Track::addSample(aSample);
} }
void VideoTrack::setSample(std::uint32_t aIndex, VideoSample* aSample) void VideoTrack::setSample(std::uint32_t aIndex, VideoSample* aSample)
{ {
Track::setSample(aIndex, aSample); Track::setSample(aIndex, aSample);
} }
void VideoTrack::setSample(VideoSample* aOldSample, VideoSample* aNewSample) void VideoTrack::setSample(VideoSample* aOldSample, VideoSample* aNewSample)
 End of changes. 2 change blocks. 
3 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)