lwlibav: More robust check if converting 14496-15 format into H.264 byte stream format is needed.