mirror of
https://github.com/SunnyQjm/ndn_ffmpeg_rtc.git
synced 2026-10-05 01:15:41 +08:00
去除过多输出
This commit is contained in:
1 parent
ff7cc2411f
commit
504df49d18
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user