去除过多输出

This commit is contained in:
SunnyQjm committed 2019-12-06 13:51:26 +08:00
1 parent ff7cc2411f
commit 504df49d18
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ AVPacket *EasyVideoDecoder::parse(const uint8_t *buf, size_t size) {
int len = av_parser_parse2(pCodecParserCtx, pCodecCtx, &pkt.data, &pkt.size, buf, size, AV_NOPTS_VALUE,
AV_NOPTS_VALUE, AV_NOPTS_VALUE);
buf += len;
cout << size << " -> " << len << " -> " << pkt.size << endl;
// cout << size << " -> " << len << " -> " << pkt.size << endl;
size -= len;
}
if (pkt.size == 0)