We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e72168f + fe28150 commit b21a686Copy full SHA for b21a686
src/FFmpegReader.cpp
@@ -1150,7 +1150,7 @@ bool FFmpegReader::GetAVFrame() {
1150
#if IS_FFMPEG_3_2
1151
int send_packet_err = 0;
1152
int64_t send_packet_pts = 0;
1153
- if ((packet && packet->stream_index == videoStream && !hold_packet) || !packet) {
+ if ((packet && packet->stream_index == videoStream) || !packet) {
1154
send_packet_err = avcodec_send_packet(pCodecCtx, packet);
1155
1156
if (packet && send_packet_err >= 0) {
0 commit comments