Samples - Clean up and bug fixes (#203)
* clean up samples
* fixes error seen in videoDecodeMem app with big files
[ROCm/rocdecode commit: 43481ce36b]
이 커밋은 다음에 포함됨:
1 부모
e140ba1249
커밋
96b71ddd2c
4 파일이 변경됨
+23
-13
검색과 일치하는 파일 없음
@@ -233,7 +233,7 @@ AVFormatContext *VideoDemuxer::CreateFmtContextUtil(StreamProvider *stream_provi
|
||||
return nullptr;
|
||||
}
|
||||
uint8_t *avioc_buffer = nullptr;
|
||||
int avioc_buffer_size = 10 * 1024 * 1024;
|
||||
int avioc_buffer_size = 100 * 1024 * 1024;
|
||||
avioc_buffer = (uint8_t *)av_malloc(avioc_buffer_size);
|
||||
if (!avioc_buffer) {
|
||||
std::cerr << "ERROR: av_malloc failed!" << std::endl;
|
||||
|
||||
새 이슈에서 참조
사용자 차단