Quoting Vittorio Giovara (2014-10-14 17:46:46) > Triggered by the goto handle_eof call. > > CC: [email protected] > Bug-Id: CID 1238803 > --- > avconv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/avconv.c b/avconv.c > index 52e88f5..48c095d 100644 > --- a/avconv.c > +++ b/avconv.c > @@ -1383,7 +1383,7 @@ static int process_input_packet(InputStream *ist, const > AVPacket *pkt) > > ist->last_dts = ist->next_dts; > > - if (avpkt.size && avpkt.size != pkt->size && > + if (pkt && avpkt.size && avpkt.size != pkt->size && > !(ist->dec->capabilities & CODEC_CAP_SUBFRAMES)) { > av_log(NULL, ist->showed_multi_packet_warning ? AV_LOG_VERBOSE : > AV_LOG_WARNING, > "Multiple frames in a packet from stream %d\n", > pkt->stream_index); > -- > 1.9.3 (Apple Git-50) >
Cannot happen. When pkt == NULL, avpkt.size will be set to 0, so the rest of the condition is not evaluated. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
