Skip to content

Commit

Permalink
trimを使用するとエラー終了してしまうのを修正。1497412a のバグ。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Mar 13, 2018
1 parent 1675b77 commit 5050217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NVEncCore/rgy_input_avcodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ int RGYInputAvcodec::getSample(AVPacket *pkt, bool bTreatFirstPacketAsKeyframe)
}
}
//ファイルの終わりに到達
if (ret_read_frame != AVERROR_EOF) {
if (ret_read_frame != AVERROR_EOF && ret_read_frame < 0) {
AddMessage(RGY_LOG_ERROR, _T("error occured while reading file: %d frames, %s\n"), m_Demux.frames.frameNum(), qsv_av_err2str(ret_read_frame).c_str());
return 1;
}
Expand Down
6 changes: 3 additions & 3 deletions NVEncCore/rgy_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#ifndef __RGY_CONFIG_H__
#define __RGY_CONFIG_H__

#define VER_FILEVERSION 0,3,32,0
#define VER_STR_FILEVERSION "3.32"
#define VER_STR_FILEVERSION_TCHAR _T("3.32")
#define VER_FILEVERSION 0,3,33,0
#define VER_STR_FILEVERSION "3.33"
#define VER_STR_FILEVERSION_TCHAR _T("3.33")

#ifdef _M_IX86
#define BUILD_ARCH_STR _T("x86")
Expand Down

0 comments on commit 5050217

Please sign in to comment.