﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
13217	mythpreviewgen crash	dag@…	Peter Bennett	"mythpreviewgen crashes for me in master.

The installation is one with a very long history of upgrades and it might well be a setting that is wrong. Bet there should still not be a crash :-)

Running under gdb gave me the crash line:
#0  0x00007ffff4e5f6bd in AvFormatDecoder::H264PreProcessPkt(AVStream*, AVPacket*) (this=0x6eda90, stream=0x716e40, pkt=0x7fffa40037e0) at avformatdecoder.cpp:3465

The line is:         if ((AVMEDIA_TYPE_VIDEO == enc->codec_type) &&
                    (kCodec_H264 == video_codec_id) &&
                    (enc->codec) && (enc->thread_count>1))

And sure enough enc returned from previous line is NULL. Perhaps a check and an error message?

Tell me what logs etc. you might need to sort this out!"	Bug Report - General	closed	minor	30.0	MythTV - Mythpreviewgen	Master Head	high	fixed	crash		0
