Re: [FFmpeg-devel] [PATCH] Fix for ticket 6796 (ffprobe show_frames ts dvbsubs infinate loop)

2017-12-02 Thread Michael Niedermayer
On Sat, Dec 02, 2017 at 12:42:22AM +, Colin NG wrote: > --- > fftools/ffprobe.c | 2 ++ > libavcodec/dvbsubdec.c | 10 +- > 2 files changed, 7 insertions(+), 5 deletions(-) This should be split in 2 patches one for the lib and one for the application [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] Fix for ticket 6796 (ffprobe show_frames ts dvbsubs infinate loop)

2017-12-01 Thread Hendrik Leppkes
On Sat, Dec 2, 2017 at 1:05 AM, Hendrik Leppkes wrote: > >> @@ -2290,6 +2294,7 @@ static av_always_inline int >> process_frame(WriterContext *w, >> if (got_frame) { >> int is_sub = (par->codec_type == AVMEDIA_TYPE_SUBTITLE); >> nb_streams_frames[pkt->stream_index]++; >> +

Re: [FFmpeg-devel] [PATCH] Fix for ticket 6796 (ffprobe show_frames ts dvbsubs infinate loop)

2017-12-01 Thread Hendrik Leppkes
On Sat, Dec 2, 2017 at 12:55 AM, Colin NG wrote: > --- > fftools/ffprobe.c | 5 + > libavcodec/decode.c | 5 - > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c > index 0e7a771..20b64ef 100644 > --- a/fftools/ffprobe.c > +++ b/fftoo